Manual

P
ART
O
NE
:
ABOUT
REMOTE
CONTROL
76
ISSUED: February 2005
WM-RCM-E Rev D
You will see that some lines in XStreamBrowser are classified as “Action” rather than as a variable type. These
actions are performed simply by sending the Action name with no argument, for example:
app.InternalCollection("Display").ClearSweeps
This would clear all the data from a persistence trace, for example. You can often reduce the amount of typing
by the following kind of statements:
Set Acquisition = WaveMaster.Acquisition
Set Horizontal = Acquisition.Horizontal
Horizontal.SampleClock = "Internal"
Horizontal.ExternalClockRate = 1
Horizontal.HorScale = 0.0000005
Horizontal.HorOffset = 0
Horizontal.HorOffsetOrigin = 5
Horizontal.SampleMode = "Sequence"
etc.
You could of course choose a much shorter word than Horizontal. For example, you could write:
Set Horiz = WaveMaster.Acquisition.Horizontal
Horiz.HorScale = 0.000001
ACTIONS
Besides the Control Variables, automation also provides for Actions. For example, we might want to Clear
Sweeps on a particular trace. The XStreamBrowser example below shows the command for clearing a
persistence trace.