32 RF Switch Command Reference
Chapter 3
DIAGnostic:RELAY?
DIAGnostic:RELAY?
returns the relay numbers of all relays that are
closed. Closed is the SET position (COMMON to NO) and is the opposite
state of the power-on/reset relay state. The command can be used to
determine which relays are closed by a given PATH command.
Comments
Output Buffer Strings.
The output buffer contains an unquoted,
comma-separated string of numbers where each number is a relay
number. If no relay is closed, the output buffer will contain the null string.
This is a register readback command that returns the current state of the
registers controlling the relays. It does not account for failed relays.
*RST condition.
At power-on or reset (*RST), DIAG:REL? will not return
any channel numbers.
Example
Returning Closed Relay Numbers
*RST
!Reset the module
DIAG:CLOS 042,043,053,054,256
!Completes a path from COM25
!to channel 42.This is equivalent
!to PATH 25,42
DIAG:REL?
!Query the relays
This program returns:
042,043,053,054,256
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E1470A Series
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 9: ...8 Notes Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 59: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...