TGTctrl Subsystem
BITS
BITS
Command
:TGTctrl:BITS<N> <mask>
The BITS command assigns bits to a signal. A 1 in the mask's bit position
assigns the bit to the signal. The mask overwrites any previous assignments.
An integer, 0 through 7, specifying signal.
<N>
An integer, 0 through 255.
<mask>
Example
To assign the last four bits to signal 1:
OUTPUT XXX;":TGT:BITS1 #H0F"
Query
:TGTctrl:BITS<N>?
The query returns an integer. The binary form of the integer specifys which
bits are assigned to the signal.
Returned Format
[:TGTctrl:BITS<N>] <mask><NL>
Example
OUTPUT XXX;":TGT:BITS1?"
14–8