beautypg.com

Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 254

background image

P

A R T

T

W O

:

C O M M A N D S

248

ISSUED: February 2005

WM-RCM-E Rev D

A

UTOMATION

VBS, VBS

Command/Query

DESCRIPTION

The VBS command allows Automation commands to be sent in the
context of an existing program.

The Automation command must be placed within single quotation
marks.

The = sign may be flanked by optional spaces for clarity.

COMMAND SYNTAX

VBS

QUERY SYNTAX

VBS?

EXAMPLES with “GPIB”

Equivalents

The following instruction sets Channel 1 vertical scale to 50 mV/Div,

the time per division to 500 ns, and the grid mode to Dual:

CMD$=“VBS ‘app.Acquisition.C1.VerScale=0.05’”

CMD$ “C1:VDIV 50 MV” (GPIB equivalent)

CMD$=“VBS ‘app.Horizontal.HorScale = 500e-9’”

CMD$ “TDIV 0.5e-6” (GPIB equivalent)

CMD$=“VBS ‘app.Display.GridMode=”Dual”’

CMD$ “GRID DUAL” (GPIB equivalent)

QUERY SYNTAX

CMD$ = “VBS?
‘Return=app.Acquisition.C1.VerScale’”