Agilent Technologies Switch/Measure Switch User Manual


 
Low Frequency Multiplexer Switch Modules 4
34980A User’s Guide 99
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 INITiate command
with the CONFigure and FETCh? commands. The ROUTe:SCAN command
puts channels 3 and 8 (of a module in slot 1) into the scan list (and
redefines the scan list). The INITiate command scans the specified
channels, and then sends the readings to memory. The FETCh? command
transfers the readings from memory to the user.
CONFigure:VOLTage:DC 10,0.003,(@1003,1008)
ROUTe:SCAN (@1003,1008)
INITiate
FETCh?