beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 182

background image

Chapter Three

Control Reference

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

' 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

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

SetFromSNTP

Action

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

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

Example

Description

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

CurrentDateAndTime

Any number of characters

String

' 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

Range

Example

Description

916435 RevA

3-115