Vbs remote command, Overview – Teledyne LeCroy WaveExpert series Automation Manual User Manual
Page 35
![background image](/manuals/353447/35/background.png)
C
HAPTER
O
NE
Overview
916435 RevA
1-23
VBS REMOTE COMMAND
For users who wish to harness the power of Automation control of an instrument, but are currently using
“traditional” remote commands via GPIB or the network (using the VICP protocol), there is a solution. This is
primarily of interest in controlling the advanced features of X-Stream DSOs, which are not supported by a
traditional remote command.
X-Stream instruments, in addition to supporting LeCroy’s standard remote command set, also support a new
command/query called VBS[?]. This command may be used in traditional remote control applications to access
Automation controls.
This example shows two methods for setting the V/Div of Channel 1, the former using a traditional remote
command, VDIV, and the latter using an Automation control via the new remote command, VBS. These two
commands are equivalent:
C1:VDIV 0.5
VBS 'app.Acquisition.C1.VerScale = 0.5'
In its query form the following are equivalent:
C1:VDIV?
VBS? 'return = app.Acquisition.C1.VerScale'
A couple of points to note here are that the app variable is pre-defined and refers to the root of the Automation
hierarchy. Also note that for the query form the return = is important, it indicates which value you wish to return to
the caller.
The VBS[?] Command/Query is documented in more detail in the Remote Control Manual for X-Stream DSOs.