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.

<N> An integer, 0 through 7, specifying signal.

<mask> An integer, 0 through 255.

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

Page 224
Image 224
HP Sander 16500C manual CommandTGTctrlBITSN mask, QueryTGTctrlBITSN?, 14-8