User`s manual

28 Getting Started Chapter 1
Programming the Relay Matrix Switches
This section gives guidelines to program the Relay Matrix Switches,
including:
Using SCPI Commands
Addressing the Modules
Initial Operation
Using SCPI
Commands
VXIbus plug-in modules installed in a C-Size VXI mainframe are treated as
independent
instruments having a unique secondary GPIB address. Each
instrument is also assigned a dedicated error queue, input and output
buffers, status registers, and, if applicable, dedicated mainframe memory
space for readings or data. An instrument may be composed of a single
plug-in module (such as a counter) or multiple plug-in modules (for a
switchbox or scanning voltmeter instrument).
To program the Relay Matrix Switch module using Standard Commands for
Programmable Instruments (SCPI), you must select the computer language,
interface address, and SCPI commands to be used. Guidelines to select
SCPI commands for the relay matrix switch module follow.
NOTE This discussion applies only to SCPI programming. See Appendix B for
information on Relay Matrix Switch registers.
Addressing the
Modules
To address specific channels (relays) within a relay matrix, you must specify
the SCPI command and the Relay Matrix Switch channel address. Use
CLOSe <
channel_list
> to close specified relay(s), OPEN <
channel_list
> to
open specified relay(s), and SCAN <
channel_list
> to close the set of relays
specified.
Module Card Numbers The matrix card (module) number depends on the switchbox configuration
(single-module or multiple-module) set for the matrices. (Leading zeroes
can be ignored for the card number.) For a single-module switchbox, the
card number is always 01.
For a multiple-module switchbox, the card numbers are 01, 02,...nn.
The module with the lowest logical address is card number 01, the module
with the next-lowest logical address is card number 02, etc..