Querying
Parameter
Settings
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
MINimum
or
MAXimum
value of a parameter is determined as follows:
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.
SCPI Command Execution
The following information should be remembered when executing SCPI
commands.
Command Coupling
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.
MIN and MAX
Parameters in
Coupling Groups
When
MINimum
or
MAXimum
is the parameter of a command in the
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
is based on the values of the other (coupling
group) commands at that time. “ Settings conflict” errors will occur if the
current values are incompatible with an intended
MIN
or
MAX
value. As a
result,
MIN
and
MAX
are not recommended for specifying the value of a
parameter.
Chapter 7
HP E1340A Command Reference 136
Содержание E1340A
Страница 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Страница 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Страница 57: ...Figure 3 1 Generating Arbitrary Waveforms 57 Generating Arbitrary Waveforms with the HP E1340A Chapter 3 ...
Страница 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Страница 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Страница 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Страница 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Страница 204: ...Figure 8 1 HP E1340A Status Groups and Associated Registers Chapter 8 HP E1340A AFG Status 204 ...
Страница 218: ...218 HP E1340A Specifications Appendix A ...
Страница 284: ...284 HP E1340A Register Based Programming Appendix C ...
Страница 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...