User`s manual
Relay Multiplexer Command Reference 61
The computer used in the example is an HP Series 200/300 with BASIC as the
program language. The computer interfaces with the mainframe over GPIB.
Assumed is a GPIB select code of 7, a GPIB primary address of 09 and 22 for the
E1300/E1301 Mainframe and Agilent 3457A Multimeter, respectively, and a GPIB
secondary address of 14 for the switchbox.
10 OUTPUT 722;"TRIG EXT;DCV"
!Sets multimeter to external trigger and to
measure dc volts.
20 OUTPUT 70914;"OUTP ON"
!Enables "Trig Out" port.
30 OUTPUT 70914;"TRIG:SOUR BUS"
!Sets switchbox to receive Bus triggers.
40 OUTPUT 70914;"SCAN:MODE VOLT"
!Sets switchbox to measure voltage
during scanning.
50 OUTPUT 70914;"SCAN:PORT ABUS"
!Sets switchbox to close the appropriate
Tree Switches during scanning.
60 OUTPUT 70914;"SCAN (@100:115)"
!Selects the channel list.
70 OUTPUT 70914;"INIT"
!Starts scanning cycle.
80 FOR I=1 TO 16
!Start count loop.
90 ENTER 722;A
!Enter reading into variable A.
100 PRINT A
!Print reading in variable A.
110 TRIGGER 70914
!Trigger the switchbox to advance the
channel list.
120 NEXT I
!Increment count.
130 END
SCAN:MODE
[ROUTe:]SCAN:MODE <mode> sets the multiplexer channels defined by the
[ROUTe:]SCAN <channel_list> command for None, Volts, 2-wire Ohms, or 4-wire
Ohms measurements.
Parameters
Comments • Order of Command Execution: The [ROUTe:]SCAN:MODE command must
be executed before the
[ROUTe:]SCAN <channel_list> command.
• NONE and VOLT Mode Description: Channel list is setup for volts
measurements.
• RES Mode Description: Channel list is setup for 2-wire ohms measurements.
• FRES Mode Description: Channel list is setup for 4-wire ohms
measurements. Use channels only in Bank 0 (channels 00 to 07) when
selecting the channels with the
[ROUTe:]SCAN <channel_list> command. Any
channel that closes in Bank 0 automatically closes the paired channel in Bank
1 (e.g., channels 02 and 10). Selecting a channel in Bank 1 (channels 08 to 15)
causes an error.
• *RST Condition: ROUT:SCAN:MODE NONE
Parameter Name Parameter Type Range of Values
<
mode>
discrete NONE|VOLT|RES|FRES