Teledyne LeCroy WavePro Automation Command User Manual

Page 470

Advertising
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

Hour

Integer

From 0 to 23 step 1

Range

Sets/Queries the hours 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 hour as 13.
app.Utility.DateTimeSetup.Hour = 13
app.Utility.DateTimeSetup.Validate

Example

SetFromSNTP

Action

Validate

Action

Year

Integer

1-456

918501 RevA

Advertising
This manual is related to the following products: