beautypg.com

Program messages, Command/query syntax, Header path – Teledyne LeCroy WaveStation SCPI Command Reference Manual User Manual

Page 9

background image

Command Reference

Program Messages

Program messages are composed of commands or queries separated by semicolons. Do not use a
terminator of any kind, including NULL terminators.

; . . . . . ;

Command/Query Syntax

The general form of a command or a query is an optional header path, followed by a command
header, optionally followed by one or several parameters (shown as in the following
construct):

[header_path:]

[?] [,...,]

NOTE: There is a space between the header and the first parameter.

Commas separate parameters.

The question mark [?] is optional and turns the command into a query.

WaveStation does not distinguish between upper- and lowercase characters.

Header Path

Commands or queries that apply to a subsection of the WaveStation, such as a single input channel,
must have their headers prefixed with a path name indicating the recipient of the command. The
header path normally consists of an abbreviated path name followed by a colon ( : ) immediately
preceding the command header.

C2:ARWV NAME,ATAN

Header Path Name

WaveStation Reference

C1, C2

Channels 1 and 2

M1 to Mxx

Memory Units 1 through 59 (WS 2000) or 67 (WS 3000)

We have included the header path in the command syntax in this manual for convenience.

922829 Rev C

7