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:DATAn[:type][:VALue]? | |
| :DIGital:DATAn[:type]:BITm? |
MEASure:DIGital:DATAn[:type] [:VALue]?
Returns the current data for the specified Port n as a signed integer.
Parameters
Parameter Name | Parameter Type | Range of Values | Default |
|
|
|
|
DATAn | Numeric | 0,1, 2, 3 for type WORD; 0, 2 for LWORd | 0 |
TYPE | discrete | WORD (Ports 0, 1, 2, or 3) | WORD |
|
| LWORd (for Ports 0 or 2) |
|
|
|
|
|
|
|
|
|
Comments • For TYPE WORD, the data is returned as a signed 16 bit integer. Example values returned include: +0, +1, +32767,
•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 |
MEAS:DIG:DATA 0:LWORD:VAL? | Queries |
HP E1459A SCPI Command Reference 49