Teledyne LeCroy WaveSurfer Automation Command User Manual
Page 198
Automation Command and Query Reference Manual - Control Reference
' 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
Minute
Integer
From 0 to 59 step 1
Range
Sets/Queries the minutes 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 minute as 34.
app.Utility.DateTimeSetup.Minute = 34
app.Utility.DateTimeSetup.Validate
Example
1-191
918499 RevA