Chapter three – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 105
Chapter Three
Control Reference
Initiates the Clear Sweeps operation. Clears history only for persistence traces, see the main Clear
Sweeps control 'app.ClearSweeps', or the ClearSweeps control in other subsystems for other options.
ClearSweeps
Action
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Initiate a clear sweeps action for persistence traces.
app.Display.ClearSweeps
Example
Description
Turns off persistence on any traces where it has been set on.
ResetAll
Action
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
' Reset all persistence traces to non-persisted mode.
app.Display.ResetAll
Example
Description
Sets/Queries the color of trace C1, using a number in the range 0 to FFFFFF in hexadecimal. The
possible colors are made from any combination of the primary colors, which are set in hexadecimal as
Blue = &HFF0000, Green = &HFF00, Red = &HFF. The value may be entered in decimal or in
hexadecimal, though hexadecimal is usually more convenient. Note that if the intensity of a color is to
be reduced or increased by a numerical factor, an AND operation must be used afterwards, to prevent
corruption of other primary colors.
C1Color
From 0 to 16777215
Color
' Visual Basic Script
Set app = CreateObject("LeCroy.XStreamDSO")
Red = &Hff: Green = &H80: Blue = &H00
' Set the color of channel C1 trace to orange
app.Display.C1Color = (Blue * &H10000) + (Green * &H100) + Red
Range
Example
Description
3-38
916435 RevA