beautypg.com

Scpi keyword separator, Scpi optional keywords, Scpi specific and implied channel – BNC 577 User Manual

Page 29: Scpi parameter types

background image

Model 577 Operating Manual

23

:PULSe:POL NORMal


Any parameter may be queried by sending the command with a question mark appended. For example:

- QUERY FORMAT

:PULSE1:STATE?

Will return:

1

:PULSE1:WIDT?

Will return:

0.000120000

:PULSE1:POL?

Will return:

NORM

8.5.4

SCPI Keyword Separator

A colon (:) must always separate one keyword from the next lower-level keyword. A space must be used to
separate the keyword header from the first parameter. If more than one parameter is used, you must separate
subsequent parameters with a comma.

8.5.5

SCPI Optional Keywords

Optional keywords and/or parameters appear in square brackets [ ] in the command syntax. Note that the
brackets are not part of the command and should not be sent to the pulse generator. When sending a second
level keyword without the optional keyword, the pulse generator assumes that you intend to use the optional
keyword and responds as if it had been sent.

8.5.6

SCPI Specific and Implied Channel

Some commands, such as PULSe, allow specifying a channel with an optional numeric keyword suffix. The suffix
will be shown in square brackets [ 1 / 2 ]. The brackets are not part of command and are not to be sent to the
pulse generator. The numeric parameters correspond to the following channels: 0 = T

0

, 1 = ChA, 2 = ChB, etc.

Only one channel may be specified at a time.

If you do not specify the channel number, the implied channel is specified by the :INSTrument:SELect command
or by the last referenced channel.

After power-up or reset (*RST) the instrument default is channel #1

8.5.7

SCPI Parameter Types

The following parameter types are used:

Accepts all commonly used decimal representation of numbers including optional
signs, decimal points, and scientific notation: 123, 123e2, -123, -1.23e2, .123,
1.23e-2, 1.2300E-01.


Represents a single binary condition that is either true or false. True is
represented by a 1 or ON; false is rep-resented by a 0 or OFF. Queries return 1
or 0.


Selects from a finite number of predefined strings