beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 183

background image

Chapter Three

Control Reference

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.

Day

From 1 to 31 step 1

Integer

' 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

Range

Example

Description

Sets/Queries 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.

Month

From 1 to 12 step 1

Integer

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

' Set the month as August.
app.Utility.DateTimeSetup.Month = 8
app.Utility.DateTimeSetup.Validate

Range

Example

Description

Sets/Queries the year 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.

Year

From 2000 to 2037 step 1

Integer

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

' Set the year as 2003.
app.Utility.DateTimeSetup.Year = 2003
app.Utility.DateTimeSetup.Validate

Range

Example

Description

3-116

916435 RevA