User`s manual

82 Agilent E1330B Digital I/O Module Command Reference
Chapter 5
DIGital:DATAn[:type]:POLarity
[SOURce:]DIGital:DATAn[:BYTE]:POLarity <polarity> sets the data line voltage
level for logical true in the 8-bit port n to either TTL high for
POSitive polarity or
TTL low for
NEGative polarity.
[SOURce:]DIGital:DATAn:WORD:POLarity <polarity> sets the data line voltage
level for logical true in the 16-bit port n to either TTL high for
POSitive polarity or
TTL low for
NEGative polarity.
[SOURce:]DIGital:DATAn:LWORd:POLarity <polarity> sets the data line voltage
level for logical true in the 32-bit port n to either TTL high for
POSitive polarity or
TTL low for
NEGative polarity.
Parameters
Comments :DATAn is the keyword used for commands relating to the data lines at port n.
The port number n must be the last character of the keyword without spaces.
Related Commands: [SOURce:]DIGital:DATAn:BITm,
[SOURce:]DIGital:DATAn:POLarity?, [SOURce:]DIGital:DATAn[:VALue]
*RST Condition: POLarity = POSitive
Example DIG:DATA0:POL POS sets logical true to TTL high on 8-bit port 0 data lines.
DIGital:DATAn[:type]:POLarity?
[SOURce:]DIGital:DATAn[:BYTE]:POLarity? returns a string, either POS or NEG,
indicating the logical true condition of the data lines of 8-bit port n.
[SOURce:]DIGital:DATAn:WORD:POLarity? returns a string, either POS or NEG,
indicating the logical true condition of the data lines of 16-bit port n.
[SOURce:]DIGital:DATAn:LWORd:POLarity? returns a string, either POS or
NEG, indicating the logical true condition of the data lines of 32-bit port n.
Parameters
Example DIG:DATA0:POL? returns the state of the logical true condition on port 0 as either
POS or NEG.
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
<
polarity>
Discrete POSitive or NEGative None
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