Quantum Composers 9500 Plus Series User Manual

Page 43

Advertising
background image

39

For example, if the command keyword is given as POLarity, then POL and
POLARITY are both acceptable forms; truncated forms such as POLAR will
generate an error; polarity, pol, and PolAriTy are all acceptable as the pulse
generator is not case sensitive.

SCPI Command Format

SCPI commands control and set instrument specific functions such as setting

the pulsewidth, delay and period. SCPI commands have a hierarchical structure
composed of functional elements that include a header or keywords separated
with a colon, data parameters and terminators. For example:

SCPI Format

:PULSE1:STATE ON

<cr> <lf>

:PULSe1:WIDTh 0.000120

<cr> <lf>

:PULSe:POL NORMal

<cr> <lf>

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

- QUERY FORMAT

:PULSE1:STATE?

Will return:

1 <cr><lf>

:PULSE1:WIDT? <cr><lf>

Will return:

0.000120000 <cr><lf>

:PULSE1:POL? <cr><lf>

Will return:

NORM <cr><lf>

SCPI Keyword Separator

A colon (:) must always separate one keyword from the next lower-level key-
word. 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.

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 key-
word without the optional keyword, the pulse generator assumes that you intend
to use the optional keyword and responds as if it had been sent.







Advertising
This manual is related to the following products: