HP (Hewlett-Packard) E1459A Network Router User Manual


 
50 HP E1459A SCPI Command Reference
MEASure:DIGital:DATA
n
[:
type
]:BIT
m
?
Returns the value of BIT m of the data for the specified Port n as a signed integer of
either +0 or +1.
Parameters
Comments For TYPE LWORd, the data from the Channel Data registers for Ports 0 and 1
OR Ports 2 and 3 are combined as a single 32 bit integer. Port 0 is the least
significant bits such that bit 0 of Port 0 becomes bit 0 and bit 15 of Port 1
becomes bit 31 of the 32 bit integer. Likewise, Port 2 is the least significant
bits such that bit 0 of Port 2 becomes bit 0 and bit 15 of Port 3 becomes bit 31
of the 32 bit integer. The specified Port must be DATA0 or DATA2. Refer to
Chapter 2 for more details.
*RST Condition: sets the input clock source to INTernal and the debounce
time to 18.0 µS.
Example MEAS:DIG:DATA3:WORD:BIT 12?
Queries value of Bit 12 in 16-bit word
from Port 3
MEAS:DIG:DATA 2:LWORD:BIT23?
Queries value of Bit 23 in 32-bit word
from Ports 2 and 3 (Bit 7 in Port 3)
Parameter Name Parameter Type Range of Values Default
DATA
n
TYPE
BIT
m
Numeric
discrete
Numeric
0, 1, 2, or 3 for WORD; 0 or 2 for LWORd
WORD (Ports 0, 1, 2, 3)
LWORd (for Ports 0 or 2)
0 - 15 for WORD, 0 - 31 for LWORd
Word
none