![background image](http://html1.mh-extra.com/html/bnc/575-series/575-series_operating-manual_2781271035.webp)
8-35
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.
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 the last referenced channel.
After power-up or reset (*RST) the instrument default is channel #1.
SCPI Parameter Types
The following parameter types are used:
<numeric value>
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.
<boolean value>
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.
<identifier>
Selects from a finite number of predefined strings.
Error Codes
The unit responds to all commands with either:
ok<cr><lf> or ?n<cr><lf>
Where "n" is one of the following error codes:
1
Incorrect prefix, i.e. no colon or * to start command.
2
Missing command keyword.
3
Invalid command keyword.
4
Missing parameter.
5
Invalid parameter.
6
Query only, command needs a question mark.
7
Invalid query, command does not have a query form.
8
Command unavailable in current system state.