beautypg.com

Teledyne LeCroy WaveRunner Automation Command User Manual

Page 303

background image

Automation Command and Query Reference Manual - Control Reference

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set time/date from the NIST Internet clock
app.Utility.DateTimeSetup.SetFromSNTP

Example

CurrentDateAndTime

String

Any number of characters

Range

Reads the current date and time from the real-time calendar and clock.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Read the current date and time from the real-time calendar and clock.
app.Utility.DateTimeSetup.CurrentDateAndTime

Example

Day

Integer

From 1 to 31 step 1

Range

Sets/Queries the day of the month setting of the real-time clock as a number.
The value will not be accepted by the clock until app.Utility.DateTimeSetup.Validate
is sent. All time/date controls are validated at the same time.

Description

' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")

' Set the day of the month as 21.
app.Utility.DateTimeSetup.Day = 21
app.Utility.DateTimeSetup.Validate

Example

Month

Integer

Second

Integer

SetFromSNTP

Action

Validate

Action

Year

Integer

1-295

918500 RevA