beautypg.com

Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual

Page 72

background image

Chapter Three

Control Reference

Hides/Shows the clock that resides in the lower-right corner of the display of the instrument.

HideClock

Bool

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

' Hide the clock for 3 seconds.
app.HideClock = True
app.Sleep(3000)
app.HideClock = False

Example

Description

Sets/Queries the state of the touch-screen enable control. This is equivalent to the front-panel Touch
Screen button.

TouchScreenEnable

Bool

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

' Disable touch-screen if it is enabled.
if app.TouchScreenEnable = True then
app.TouchScreenEnable = False
End if

Example

Description

Resets all scope preferences to their default states. The set includes the current remote
communications port, the color palette settings, etc. but does not include the main DSO controls such
as V/Div, T/Div, etc. These main instrument controls can be reset using the SetToDefaultSetup control.

ResetPreferences

Action

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

' Reset all instrument preferences.
app.ResetPreferences

Example

Description

916435 RevA

3-5