What Is Vb S - LeCroy WaveRunner Xi series Operator's Manual

Oscilloscopes
Hide thumbs Also See for WaveRunner Xi series:
Table of Contents

Advertisement

W
R
X
S
AVE
UNNER
I
ERIES
What is VB
S?
VBS is a programming language, but you don't write it in a special environment such as C++ or Visual Basic; you
write it within your own application. In the instrument, a few clicks or button pushes will get you into an editing
panel where you can write what you want. You cannot crash the oscilloscope, or in any other way interfere with its
workings, because the system is completely protected.
A product of Microsoft and a subset of Visual Basic, VBS can be learned very quickly if you have some
experience in any programming language. The VBS processing function can collect a number of useful variables
from the oscilloscope, including waveform data and useful variables such as volts per division and time per
division. The output from a script can be a waveform or a parameter, and you can choose your own values for
variables such as volts per division.
The idea of a VBS function is that you start with an input waveform, operate on some or all of the values with a
script, and show the result on a oscilloscope grid, like any other waveform.
VBScript customization is built into the instrument, so no additional programs need to be loaded to take
advantage of this capability.
The following diagrams were made by changing a small part, in some cases just one line, of a standard VBScript.
VBS is a well-known standard language, with excellent support documentation, and it is easy to use in several
different environments.
172
WRXi-OM-E Rev C

Advertisement

Table of Contents
loading

Table of Contents