Querying Parameter Settings; Scpi Command Execution; Command Coupling - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

Querying
Parameter
Settings

SCPI Command Execution

Command Coupling

MIN and MAX
Parameters in
Coupling Groups
Chapter 7
Unless otherwise noted in the reference section, parameter settings can be
queried by adding a question mark (?) to the command which set the
parameter. For example:
SOUR:FREQ:FIX 20E3
sets the frequency to 20 kHz. The value can be queried by executing:
SOUR:FREQ:FIX?
The
or
MINimum
MAXimum
SOUR:FREQ:FIX? MIN
SOUR:FREQ:FIX? MAX
The minimum and maximum values returned are based on the settings of
other AFG commands at that time.
The following information should be remembered when executing SCPI
commands.
Many of the AFG SCPI commands are value coupled. This means that
sending a command can change parameter values set by previous
commands. Often, this results in " Settings Conflict" errors when the
program executes. To prevent these errors the AFG commands must be
executed in a "coupling group" . The coupling group and associated
commands are listed in Appendix B, Table B-2.
Commands not in the coupling group must precede or follow commands in
the coupling group. Executing uncoupled commands in a coupling group
breaks the coupling and can cause a "Settings Conflict" error. Command
queries (commands with a question mark) are uncoupled commands and
should be executed before or after coupled commands.
Chapter 1 also contains information on executing coupled commands.
When
MINimum
or
MAXimum
coupling group, that command should be the last command executed in the
group. Unlike other parameters that are set when an end-of-line indication is
received,
MIN
and
MAX
are evaluated when the command is parsed. Thus,
the value of
MIN
or
MAX
group) commands at that time. " Settings conflict" errors will occur if the
current values are incompatible with an intended
result,
MIN
and
MAX
are not recommended for specifying the value of a
parameter.
value of a parameter is determined as follows:
is the parameter of a command in the
is based on the values of the other (coupling
MIN
HP E1340A Command Reference 136
or
value. As a
MAX

Advertisement

Table of Contents
loading

Table of Contents