TGTctrl Subsystem
STATEs
STATEs
Command
:TGTctrl:STATEs<N> <value_0>[,<value_1>,
<value_2>,<value_3>,<value_4>,<value_5>,<value_6>,
<value_7>]
This command does not obey the truncation rule.
The STATEs command sets the state values of the specified signal. The
value is interpreted as a packed bitmask. You can specify up to 8 values on
the command line.
An integer, 0 through 7, specifying signal.
<N>
An integer, 0 through 255, specifying that state's value in a packed bitmask.
<value_N>
Example
If bits 0, 2, and 7 are assigned to signal 0, the following command would set
each bit high in turn:
OUTPUT XXX;":TGT:STATE0 1,2,4"
Query
:TGTctrl:STATEs<N>?
The STATEs query returns values for all 8 states. For toggle and pulse
signals, only the first two values are significant.
Returned Format
[:TGTctrl:STATEs<N>] <value_0>,<value_1>,<value_2>,
<value_3>,<value_4>,<value_5>,<value_6>,<value_7><NL>
Example
OUTPUT XXX;":TGTCTRL:STATES0?"
14–14