SCPI Commands
Coupled Commands
4C
4C-23
Coupled Commands
What Is Command Coupling?
Commands from the IEEE interface bus are usually executed serially in the order they are
received. However, because commands may come in any order in a command string, it is
possible that a combination of commands produce an illegal machine state if executed in
isolation, but a valid machine sate if executed collectively.
This problem is overcome by defining a coupling between commands which allows the
execution of individual components to be deferred until all contiguous coupled
commands in the same group have been parsed and the validity of the combinations
checked.
Note
Individual commands may be a member of several coupled command
groups.
A good example is power and frequency. Either of these commands could be used
individually to configure an instrument (with the other parameter assumed or defaulted).
However, there are instances when both commands are required together before the
requested configuration is valid.
Suppose the instrument has a profile that allows high frequency at low power and high
power at low frequency. Assume the instrument is currently set to a high frequency, low
power and we require a change to give high power, low frequency. Manually, we would
have to reduce the frequency before we could increase the power.
On the bus, if the power command is sent before the frequency command and the
commands were processed as they were received, then an error would be reported as the
instrument would think that a high power AND a high frequency were being requested.
See Figure 4C-1.
Power
Frequency
+10 dBm
1MHz
Starting
Point
200MHz
20 dBm
Requested
Point
Invalid
Point
Bus commands without coupling
:POWer +10 ;:FREQency 1E6
ead123f.eps
Figure 4C-1. Bus Command without Coupling
Summary of Contents for 9640A Series
Page 8: ......
Page 16: ...9640A Instruction Manual viii...
Page 22: ...9640A Instruction Manual 1 2...
Page 40: ...9640A Instruction Manual 2 2...
Page 108: ...9640A Instruction Manual 4A 2...
Page 138: ...9640A Instruction Manual 4C 2...
Page 164: ...9640A Instruction Manual 4D 2...
Page 168: ...9640A Instruction Manual 4D 6...
Page 170: ...9640A Instruction Manual 4E 2...
Page 174: ...9640A Instruction Manual 4E 6...
Page 176: ...9640A Instruction Manual 4F 2...
Page 184: ...9640A Instruction Manual 4F 10...
Page 186: ...9640A Instruction Manual 4G 2...
Page 190: ...9640A Instruction Manual 4G 6...
Page 192: ...9640A Instruction Manual 5 2...
Page 272: ...9640A Instruction Manual 5 82...
Page 274: ...9640A Instruction Manual 6 2...
Page 284: ...9640A Instruction Manual 7 2...
Page 310: ...9640A Instruction Manual 8 2...
Page 316: ...9640A Instruction Manual 8 8...
Page 320: ...9640A Instruction Manual A 4...