User manual
Relay Multiplexer Command Reference 83Chapter 3
Example Selecting the Analog Bus Port
This example selects the four-wire ohms measurement mode (FRES) on
card #1 of a single-module switchbox and then enables the analog bus
connection. Control relays 0992/0993 close and 0990/0991/0994/0995
open.
FUNC 1,WIRE4
!Set mode to four-wire
TRIG:SOUR EXT
!Select external trigger source
SCAN:MODE FRES
!Select the four-wire ohms mode
SCAN:PORT ABUS
!Select the analog bus port
SCAN (@130:137)
!Scan channels 0-7 in bank 3 (paired
with channels 0-7, bank 7)
INIT
!Start scanning cycle
[ROUTe:]SCAN:PORT?
[ROUTe:]SCAN:PORT? returns the current state of the analog bus port.
The command returns NONE if the analog bus connection control relays
are disabled or ABUS if the control relays are enabled.
Example Query the Scan Port
This example selects the analog bus port and then queries the state.
Because the analog bus port is selected, the query command returns
"ABUS".
SCAN:PORT ABUS
!Select the analog bus port
SCAN:PORT?
!Query the port selection