30 RF Switch Command Reference
Chapter 3
DIAGnostic:CLOSe?
DIAGnostic:CLOSe <relay>{,<relay>...} returns a number to indicate the
closed state of each relay in the list. Since these are Form C relays,
“closed” means the relay is “set” (COMMON to NO).
Parameters
Comments
Relay Closure Results. The output buffer contains an unquoted string
containing the result for the relay(s): 0 = Not closed (COMMON to NC)
and 1 = Closed (COMMON to NO)
Invalid Values. Values other than those listed in the table cause error
2022, “Invalid relay number”.
Querying Relays. To query single relays, use DIAG:CLOS abc. To query
multiple relays, use DIAG:CLOS? abc,def,ghi,... etc.
80 Relays Maximum. The E1470A has only 80 relays. Setting more than
80 relay numbers causes error: -108, “Parameter not allowed”.
Example Querying Relay Closures
!Reset module and open all relays
!Closes relay 002 (connects
!CH002 to relay 003 in bank 00)
!Returns 0,1,0
DIAGnostic:OPEN
DIAGnostic:OPEN <relay>{,<relay>...} opens individual relays on the
E1470A. Since these are Form C relays, “open” means the relay is
“reset” to its power-on state (COMMON to NC).
Parameters
Name Type Range of Values
<relay> numeric 001-003|011-014|021-024|031-034|041-044|
051-056|101-103|111-114|121-124|131-134|
201-203|211-214|221-224|231-234|241-244|
251-256|301-303|311-314|321-324|331-334
Name Type Range of Values
<relay> numeric 001-003|011-014|021-024|031-034|041-044|
051-056|101-103|111-114|121-124|131-134|
201-203|211-214|221-224|231-234|241-244|
251-256|301-303|311-314|321-324|331-334