10-34
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.
SCPI Optional Keywords
The following parameter types are used:
SCPI Parameter Types
•
<numeric value>
o
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>
o
Represents a single binary condition that is either true or false.
True is represented by a 1 or ON; false is represented by a 0 or
OFF. Queries return 1 or 0.
•
<identifier>
o
Selects from a finite number of predefined strings.
In addition to IEEE 488.2 and SCPI formatted commands, the 9730 Series also
supports all legacy 971x commands for ease of software migration from the 971x
instruments. Legacy commands begins with a ‘$’ symbol with each command
keyword separated by a ‘:’ (e.g. “$T1:WID ?” will return the width for channel 1).
For more information on legacy commands, please refer to the 971x series
manual.
Legacy Command Support
The unit responds to all commands with either:
Error Codes
ok<cr><lf> or ?<n><cr><lf>
<cr> = carriage return, <lf> = line feed
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.