User manual

Table Of Contents
3152B User Manual Publication No. 980935 Rev. M
5-6 Programming Reference Astronics Test Systems
because it can only have an effect when the instrument is in HS
mode. Likewise, there is no HS command that corresponds to the
command INSTrument:MODE FAST.
In HS mode, the instrument accepts HS commands only. SCPI
commands sent
when the 3152A is in HS mode will generate errors.
Likewise, in NORMal (SCPI) mode, HS commands will not be
accepted.
Rules for Using
HS Command
Mode
HS commands must be sent to the instrument in accordance with the
following usage rules:
1. Unlike SCPI co
mmand 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 associa
ted 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, “se
t” 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 e
nd of an HS command string, terminate the string with
the \a character (0xA).