beautypg.com

Teledyne LeCroy WaveRunner Automation Command User Manual

Page 305

background image

Automation Command and Query Reference Manual - Control Reference

Second

Integer

From 0 to 59 step 1

Range

Sets/Queries the seconds 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 seconds as 55.
app.Utility.DateTimeSetup.Second = 55
app.Utility.DateTimeSetup.Validate

Example

SetFromSNTP

Action

Sets the real time clock from the simple network time protocol.

Description

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

' Set the real time clock from the simple network time protocol.
app.Utility.DateTimeSetup.SetFromSNTP

Example

Validate

Action

Validates any new settings. This action is equivalent to clicking 'Validate Changes' on the Date/Time
page.

Description

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

' Set the day, hour, and minute, and validate.
app.Utility.DateTimeSetup.Day = 3
app.Utility.DateTimeSetup.Hour = 5
app.Utility.DateTimeSetup.Minute = 8

app.Utility.DateTimeSetup.Validate

Example

1-297

918500 RevA