[Source:]Digital:datan[:Type][:Value] - Keysight VXI Bus 75000 C Series User And Programming Manual

Digital i/o module
Hide thumbs Also See for VXI Bus 75000 C Series:
Table of Contents

Advertisement

Keysight E1458A Command Reference
Parameters
Comments
Examples
DIG:DATA3 27 writes the binary equivalent of the decimal number 27 (00011011)
to 8-bit port 3.
DIG:DATA3 #B00011011 writes the same byte of data as in the example above to
port 3, but uses binary format.

[SOURce:]DIGital:DATAn[:type][:VALue]?

[SOURce:]DIGital:DATAn[:BYTE][:VALue]? returns the programmed state of 8-bit
port n as a decimal number between 0 and 255.
[SOURce:]DIGital:DATAn:WORD[:VALue]? returns the programmed state of
16-bit port n as a decimal number between -32768 and 32767.
94
Parameter Name
Parameter Type
DATAn
Numeric
<base>
Discrete
<value>
Numeric
The keyword LW32 may be used instead of LWORd.
<base> specifies the numeric format as decimal, hexadecimal, octal, or
binary. IEEE-488.2 specifies the following values for this parameter:
Decimal = no Parameter Hexadecimal = #H Octal = #Q
Binary = #B
:DATAn is the keyword used for commands relating to data output 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
*RST Condition: All ports are set for data input.
Range of Values
BYTE none, 0 through 11
WORD none, 0, 2, 4, 6, 8, or 10
LWORd none, 0, 4, or 8
LW64 none or 0
LW96 none or 0
None, #H, #Q, or #B
BYTE -27 to (28-1) WORD -215 to
(216-1) LWORd -231 to (231-1)
LW64 -231 to (231-1) LW96 -231
to (231-1)
Keysight E1458A 96-Channel Digital I/O Module User Guide
[SOURce:] Subsystem
Default
0
Decimal
None

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1458a

Table of Contents