
3152A User Manual
Racal Instruments
©
2001
SCPI and HS Command Reference 4-7
Rules for Using
HS Command
Mode
HS commands must be sent to the instrument in accordance
with the following usage rules:
1. Unlike SCPI command syntax, a space (or spaces) may not
be placed between HS commands and their parameters. For
example, the HS command
0100A1
is valid. The HS command
0100A
1
is incorrect and will generate an error.
2. If more than 1 parameter is associated with a command, use
a comma (or commas) to separate parameters. Once again,
commas and parameters may not be offset by spaces. For
example, the HS command:
0300C1e6,5,0
is valid. The HS command:
0300C 1e6, 5, 0
is incorrect and will generate an error.
3. As with SCPI, multiple HS commands may be sent together
if they are separated a semicolon (or semicolons). Once
again:
0100A1;0200A1
is valid and
0100A1;
0200A1
is incorrect and will generate an error.
4. As with SCPI, “set” type HS commands may be terminated
with a question mark (?) instead of parameters to query or
“get” a setting from the instrument. For example, you can
query the frequency, amplitude and offset settings of the
3152A by sending the query:
0300C?
5. At the end of an HS command string, terminate the string
with the \a character (0xA).