User`s manual
64 Agilent E1330B Digital I/O Module Command Reference
Chapter 5
MEASure Subsystem
The MEASure subsystem defines the command set for the Digital I/O Module input
statements.
Syntax MEASure
:DIGital
:DATA
n
[:BYTE]
:BIT
m?
:TRACe <
name>
[:VALue]?
:LWORd
:BIT
m?
:TRACe <
name>
[:VALue]?
:WORD
:BIT
m?
:TRACe <
name>
[:VALue]?
:FLAG
n?
:DIGital:DATAn[:type]:BITm?
MEASure:DIGital:DATAn:BYTE:BITm? reads the state on bit m of 8-bit port n
after the completion of the handshake.
MEASure:DIGital:DATAn:WORD:BITm? reads the state on bit m of 16-bit port n
after the completion of the handshake.
MEASure:DIGital:DATAn:LWORd:BITm? reads the state on bit m of the 32-bit
port n after the completion of the handshake.
Parameters
Comments • Input data is always assumed to be in binary format, since only a single bit of
data is being read. The command returns either a 0 or 1.
• The keyword :LW32 may be used instead of :LWORd when using the
downloaded version of the SCPI driver.
• :DATAn is the keyword used for commands relating to the data at port n. The
port number n must be the last character of the keyword without spaces.
Parameter Name Parameter Type Range of Values Default
DATA
n
Numeric BYTE
WORD
LWORd
none, 0, 1, 2, or 3
none, 0 or 2
none or 0
0
BIT
m
Numeric BYTE
WORD
LWORd
0–7
0–15
0–31
0