Register-Based Programming
141
•
Multimeter status bit 5 (multimeter complete) is monitored to
determine when the analog-to-digital (A/D) conversion is in progress,
and thus, when to advance the channel. This enables each channel to
be measured before the readings are read from the buffer.The channel
can also be advanced by monitoring bit 4 (Data Ready). However,
before measuring the next channel, readings from the previous channel
must be read from the buffer in order to clear the bit.
•
Multimeter Autozero is often turned on in order to detect when bit 5 is
active.
Programming Example
The example in this section demonstrate how to program the multiplexer in
register format. This example includes:
•
Reading the ID, Device Type, and Status Registers
•
Closing/Opening a channel, Stand-Alone Multiplexer Measurements
•
Scanning through channels
System
Configuration
The following programs were developed on an embedded controller using
Visual C/C++ programming language and using the SICL interface library.
You can also use an external PC connected via GPIB to an Agilent E1406A
Command Module. The command module simply provides direct access to
the VXI backplane.
Example Program
The following example program contains segments that:
•
Read the ID and Device Type Registers.
•
Read the Status Register.
•
Close a group of channels and the associated tree relay.
•
Resets the module to open all channels.
•
Scans through all the channels on the module.
Summary of Contents for E8462A
Page 2: ...x...
Page 10: ...8 Notes...
Page 11: ...9 Notes...
Page 12: ...10 Notes...
Page 15: ...Configuring the Agilent E8462A Multiplexer 13 Figure 1 1 Agilent E8462A Simplified Schematic...
Page 68: ...66 Using the Multiplexer...
Page 104: ...102 Agilent E8462A Relay Multiplexer Command Reference...
Page 118: ...116 Agilent E8462A Relay Multiplexer Command Reference...
Page 126: ...124 Agilent E8462A Scanning Voltmeter Application Examples Chapter 4 Notes...
Page 146: ...144 Register Based Programming...
Page 156: ...154 Index...