64-Bit Digital I/O Module with Memory and Counter
10
34980A User’s Guide
267
Basic Digital I/O Operations
Channel Numbering and Width
The digital channels are numbered by bank; 101 through 104 and 201
through 204 for banks 1 and 2 respectively.
Using SCPI commands you can group digital I/O channels together to
allow 16- or 32- bit operations. The first and third channels on a bank can
be control channels. Width and direction of the memory operations are
controlled by the width and direction of the first channel on the bank
(i.e., 101 or 201). In the SCPI language for the 34950A, BYTE refers to
8- bit operations, WORD refers to 16- bit operations, and LWORd refers to
32- bit operations.
This diagram illustrates how the channels are numbered for each
configuration.
Reading Digital Data
The simplest way to read a digital channel is using the
MEASure:DIGital?
query. This query sets the channel to be an input channel and sets all
other channel parameters to the default settings.
For example, sending the following SCPI command to a Digital I/O module
installed in slot 1 of the mainframe will read the value of the 8- bit
channel 102. An unsigned integer value is returned that represents the
state of the 8 bits on channel 102.
MEAS:DIG? BYTE, (@1102)
By adding parameters to the command, you can set the channel width,
polarity, and threshold for read. For example, sending the following SCPI
command you can read the 32- bit channel 201.
MEAS:DIG? LWOR, (@1201)
Bank 1
Bank 2
Channel
BYTE (default)
101
102
103
104
201
202
203
204
8-bits
8-bits
8-bits
8-bits
8-bits
8-bits
8-bits
8-bits
WORD
101
103
201
203
16-bits
16-bits
16-bits
16-bits
LWORd
101
201
32-bits
32-bits
Содержание Agilent 34980A
Страница 1: ...Agilent Technologies Agilent 34980A Multifunction Switch Measure Unit User s Guide ...
Страница 2: ......
Страница 6: ......
Страница 198: ...186 34980A User s Guide 5 Matrix Switch Modules ...
Страница 210: ...198 34980A User s Guide 6 General Purpose Switch Modules ...
Страница 216: ...204 34980A User s Guide 7 RF Multiplexer Switch Modules ...
Страница 314: ...302 34980A User s Guide 11 4 Channel Isolated D A Converter with Waveform Memory Module ...
Страница 322: ...310 34980A User s Guide 12 Multifunction Module with DIO D A and Totalizer ...
Страница 326: ...314 34980A User s Guide 13 Breadboard Module 34959A Breadboard Module Layout shown with cover removed ...
Страница 335: ...Breadboard Module 13 34980A User s Guide 323 Dimensions of Suggested maximum size Custom PC Board ...
Страница 336: ...324 34980A User s Guide 13 Breadboard Module PC Board Footprint of Suggested DB50 Connectors M F ...