Datetimesetup, Chapter three, Control reference – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 181: App.utility.datetimesetup
Chapter Three
Control Reference
TDR Normalized trace horizontal zoom (span per division)
HorZoom
From 0.1 to 1e+006 step (8 digits)
Double
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Assuming the normalized trace shows impedance parameter
' Change TDR normalized trace scale per division to 10nS
app.TDR.TDRN.Zoom.HorZoom = 10e-9
Range
Example
Description
TDR Normalized trace horizontal position
HorPos
From -0.5 to 0.5 step (8 digits)
Double
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Assuming the normalized trace shows S parameters
' Change TDR normalized trace center position to start at 1GHz
app.TDR.TDRN.Zoom.HorPos = 1e9
Range
Example
Description
DATETIMESETUP
app.Utility.DateTimeSetup
This set of variables controls user the date and time setup. In addition to manual controls for hh/mm/ss, dd/mm/yy, there
is the ability to set the time and date from an Internet clock using the SNTP protocol.
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Set time/date from the NIST Internet clock
app.Utility.DateTimeSetup.SetFromSNTP
Example
Validate
Action
Description
CurrentDateAndTime
String
Day
Integer
Hour
Integer
Minute
Integer
Month
Integer
Second
Integer
SetFromSNTP
Action
Validate
Action
Year
Integer
3-114
916435 RevA