User manual
   Using the Relay Multiplexer  35Chapter 2
Chapter 2
Using the Relay Multiplexer
Using This Chapter 
This chapter shows how to use the Relay Multiplexer module, including:
• Multiplexer Commands/States  . . . . . . . . . . . . . . . . . . . . . . . .  35
• Switching Channels  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
• Scanning Channels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
• Miscellaneous Multiplexer Functions  . . . . . . . . . . . . . . . . . . .  51
Multiplexer Commands/States
This section summarizes Relay Multiplexer module commands, queries, 
and reset states. Table 2-1 shows multiplexer commands used in this 
chapter. See Chapter 3 for additional information about the commands. 
Table 2-1. Selected Multiplexer Commands Used in Chapter 2
Command  Description
INITiate[:IMMediate] Starts the scan sequence and closes the first channel in the channel_list.
OUTPut:TTLTrg
n
[:STATe] ON Enables selected output to trigger pulses from the TTL Trigger bus line specified.
OUTPut:EXTernal][:STATe] ON Enables selected output to trigger pulses from command module’s "Trig Out" port.
[ROUTe:]CLOSe <
channel_list
> Closes the channels in the channel_list.
[ROUTe:]CLOSe? <
channel_list
> Queries the state of the closed channels in the channel_list.
[ROUTe:]FUNCtion 
<
card_number
>,<
function
>
Sets the operating mode to one-wire, two-wire, three-wire, or four-wire.
[ROUTe:]OPEN <
channel_list
> Opens the channels in the channel_list.
[ROUTe:]SCAN <
channel_list
>< Defines the channels to be scanned. Channels specified in the channel_list 
are closed one at a time.
[ROUTe:]SCAN:PORT Closes bank COM terminals to the analog bus during a scan.
[ROUTe:]SCAN:MODE Sets the scan mode to volts, 2-wire ohms, or 4-wire ohms.
TRIGger:SOURce <
source
>  Selects the trigger source to advance the scan.
*CLS  Clears all switchbox status registers and error queue.
*ESE  Enables event status register.
*RST  Resets the hardware and software to a known state.
*SRE  Enables status register.










