Agilent Technologies 34921A User Manual page 11

Low frequency multiplexer modules
Table of Contents

Advertisement

SCPI Programming Examples for the Multiplexer Modules
Example: Closing and opening Analog Bus relays
The following command
connects the Analog Buses to Bank 1 (via the Analog Bus relays on Bank
1) for a module in slot 3.
ROUTe:CLOSe (@3911,3912,3913,3914)
ROUTe:OPEN (@3911,3912,3913,3914)
The Analog Bus relays (numbered s911, s912, s913, etc.) on the MUX
modules are ignored if they are included in a range of channels.
An error will be generated if an Analog Bus relay is specified as the
first or last channel in a range of channels. For example, the following
command closes all valid channels between channel 30 (slot 1) and
channel 5 (slot 2). In addition, this command closes Analog Bus relay 911
on the module in slot 1 (Bank 1). Note that although the specified range
of channels includes the other Analog Bus relays, they are ignored and are
not closed by this command.
ROUTe:CLOSe (@1030:2005,1911)
Example: Querying channels for open or close state The following command
returns a 1 (true) or 0 (false) state of channel 036 for a module in slot 3.
ROUTe:CLOSe (@3036)
ROUTe:CLOSe? (@3036) !Returns a 1
ROUTe:OPEN? (@3036) !Returns a 0
Making Measurements
Example: Making voltage measurements
The following command configures
channels 9 and 10 in slot 4 for DC voltage measurements, triggers the
internal DMM to scan channels 9 and 10, and returns the reading.
The 1 V range is selected with 1 mV resolution.
MEASure:VOLTage:DC? 1,0.001, (@4009,4010)
Example: Making voltage measurements using INITiate and FETCh?
The following program segment shows how to use the
command
INITiate
with the
and
commands. The
command
CONFigure
FETCh?
ROUTe:SCAN
puts channels 3 and 8 (of a module in slot 1) into the scan list (and
redefines the scan list). The
command scans the specified
INITiate
channels, and then sends the readings to memory. The
command
FETCh?
transfers the readings from memory to the user.
CONFigure:VOLTage:DC 10,0.003,(@1003,1008)
ROUTe:SCAN (@1003,1008)
INITiate
FETCh?
Example: Making current measurements The following command configures
channel 43 for a 34921A modules in slot 7 for dc current measurements,
triggers the internal DMM to scan the channel, and then sends the reading
to the output buffer of the 34980A. The default settings for range
(autorange) and resolution (1 PLC) are used for the measurement.
MEASure:CURRent:DC? (@7043)
Agilent 34921A-34925A Low Frequency Multiplexer Modules User's Guide
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

34925a

Table of Contents