HP E1459A SCPI Command Reference
49
MEASure Subsystem
The MEASure commands are used for the Isolated Digital Input part of the HP
E1459A. These commands return data corresponding to the current value of the
input signals. Refer to Chapter 2 for more examples of using the MEASure
Subsystem.
Syntax
MEASure:DIGital:DATA
n
[:
type
][:VALue]?
page 49
:DIGital:DATA
n
[:
type
]:BIT
m
?
page 50
MEASure:DIGital:DATA
n
[:
type
] [:VALue]?
Returns the current data for the specified Port n as a signed integer.
Parameters
Comments
•
For TYPE WORD, the data is returned as a signed 16 bit integer. Example
values returned include: +0, +1, +32767, -32768. Specify port as either
DATA0, DATA1, DATA2, or DATA3.
•
For TYPE LWORd, the data is returned as a signed 32 bit integer with Port 0 or
Port 2 in the least significant bytes. Specify port as DATA0 or DATA2.
•
Default is Port 0. :DATA is equivalent to :DATA0.
Example
MEAS:DIG:DATA 1:WORD:VAL?
Queries 16-bit data from Port 1
MEAS:DIG:DATA 0:LWORD:VAL?
Queries 32-bit word from Ports 0 and 1
Parameter Name
Parameter Type
Range of Values
Default
DATA
n
TYPE
Numeric
discrete
0,1, 2, 3 for type WORD; 0, 2 for LWORd
WORD (Ports 0, 1, 2, or 3)
LWORd (for Ports 0 or 2)
0
WORD
Summary of Contents for E1459A
Page 4: ...4 Contents ...
Page 8: ...8 Notes ...
Page 10: ......
Page 28: ...28 Installing and Configuring the HP E1459A ...
Page 61: ...HP E1459A SCPI Command Reference 61 Figure 3 1 HP E1459A Status System Register Diagram ...
Page 72: ...72 HP E1459A SCPI Command Reference ...
Page 74: ...74 HP E1459A Specifications ...
Page 103: ...HP E1459A Register Definitions 103 1970 END ...
Page 104: ...104 HP E1459A Register Definitions ...
Page 106: ...106 Error Messages ...
Page 110: ...110 Index ...