Ieee 488.2 common command format, Scpi command keywords, Scpi command format – Quantum Composers 9530 Series User Manual
Page 33
9530/8530 Manual Version 4.8
Page 33
the
“carriage return” and “linefeed”. They are ASCII character set values 13 and 10 respectively (hex
0x0D and 0x0A). All command strings need to have these characters appended.
When the pulse generator responds to a command, whether it is a query or a parameter change, it
also appends its return strings with these characters. Coded applications could use this behavior to
know when to stop reading from the unit. However, if the
“echo” parameter is enabled, there will be
two sets of line terminators, one following the echoed command string, and one following the pulse
generator
’s response.
*Note: The pulse generator will echo commands on the RS-232 serial port only.
The pulse generator responds to every communication string. If the communication string is a query,
the unit responds with the queried response (or error code) followed by the line terminators. If the
communication string is a parameter change, the response is
“ok” (or error code) followed by the line
terminators. For this reason, it is not recommended that multiple commands be stacked together into
single strings as is common with some other types of instruments. It is recommended that the coded
application send a single command in a string
and follow immediately by reading the response from
the unit. Repeat this sequence for multiple commands.
IEEE 488.2 Common Command Format
The IEEE 488.2 Common Commands control and manage generic system functions such as reset,
configuration storage and identification. Common commands always begin with the asterisk (*)
character and may include parameters. The parameters are separated from the command
pneumonic by a space character. For Example:
*RST
*RCL 1
*IDN?
SCPI Command Keywords
The commands are shown as a mixture of upper and lower case letters. The upper case letters
indicate the abbreviated spelling for the command. You may send either the abbreviated version or the
entire keyword. Upper and/or lower case characters are acceptable.
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.
*Note: The unit by default is not case sensitive, but if it is wished to have the system only
respond to capitalized commands see the command list below.
SCPI Command Format
SCPI commands control and set instrument specific functions such as setting the pulse width,
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