User`s manual
Agilent E1330B Digital I/O Module Command Reference 65
Chapter 5
• If n is omitted, bit 0 is used.
• :BITm is the keyword that specifies the bit read by this command. Like the
:DATAn keyword, no space can be between the keyword :BIT and the bit
number m parameter.
• Related Commands: [SOURce:]DIGital:DATAn:POLarity
• *RST Condition: Set to input on all ports.
Example MEAS:DIG:DATA2:BIT4? reads port 2, bit 4 (data line D2–4).
:DIGital:DATAn[:type]:TRACe
MEASure:DIGital:DATAn[:BYTE]:TRACe <name> reads 8-bit port n after the
completion of the handshake and stores the data block in
<name>.
MEASure:DIGital:DATAn:WORD:TRACe <name> reads 16-bit port n after the
completion of the handshake and stores the data block in
<name>.
MEASure:DIGital:DATAn:LWORd:TRACe <name> reads the 32-bit port n after
the completion of the handshake and stores the data block in
<name>.
Parameters
Comments • :TRACe <name> is the keyword (maximum 12 characters) that specifies the
block where the data should be stored. This block must have been previously
defined by the
[SOURce:]DIGital:TRACe:DEFine command.
• This command will completely fill the named block. The defined block size
sets the amount of data read. The block size must by an integer multiple of the
[:type] keyword used in this command. For example,valid block sizes for
:LWORd are 4, 8, 12, 16, etc.
• Input data is returned in decimal format. Other formats are not supported for
input, however, data output may be in binary, octal, decimal or hexadecimal.
• The keyword :LW32 may be used instead of :LWORd when using the
download 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.
• Related Commands: MEASure:DIGital:DATAn[:VALue]?,
[SOURce:]DIGital:TRACe:DEFine
• *RST Condition: Set to input on all ports.
Example MEAS:DIG:DATA0:WORD:TRACe first_block reads 16-bit data from port 0 and
stores it in the predefined user memory location first_block.
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
<name>
String previously defined block
name (max 12 characters)
None