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
Содержание 9640A Series
Страница 8: ......
Страница 16: ...9640A Instruction Manual viii...
Страница 22: ...9640A Instruction Manual 1 2...
Страница 40: ...9640A Instruction Manual 2 2...
Страница 108: ...9640A Instruction Manual 4A 2...
Страница 138: ...9640A Instruction Manual 4C 2...
Страница 164: ...9640A Instruction Manual 4D 2...
Страница 168: ...9640A Instruction Manual 4D 6...
Страница 170: ...9640A Instruction Manual 4E 2...
Страница 174: ...9640A Instruction Manual 4E 6...
Страница 176: ...9640A Instruction Manual 4F 2...
Страница 184: ...9640A Instruction Manual 4F 10...
Страница 186: ...9640A Instruction Manual 4G 2...
Страница 190: ...9640A Instruction Manual 4G 6...
Страница 192: ...9640A Instruction Manual 5 2...
Страница 272: ...9640A Instruction Manual 5 82...
Страница 274: ...9640A Instruction Manual 6 2...
Страница 284: ...9640A Instruction Manual 7 2...
Страница 309: ...8 1 Chapter 8 Lists of Replaceable Parts Title Page Introduction 8 3 How to Obtain Parts 8 3 Parts Lists 8 4...
Страница 310: ...9640A Instruction Manual 8 2...
Страница 316: ...9640A Instruction Manual 8 8...
Страница 320: ...9640A Instruction Manual A 4...