Agilent Technologies E1470A Switch User Manual


 
RF Switch Command Reference 31
Chapter 3
Comments Invalid Values. Values other than those listed in the table cause error:
2022, “Invalid relay number”.
Opening Relays. To open single relays, use DIAG:OPEN abc. To open
multiple relays, use DIAG:OPEN 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 Opening Relays
!Opens relay 333 (connects
!COM333 to relay 334 in bank 33)
DIAGnostic:OPEN?
DIAGnostic:OPEN? <relay>{,<relay>...} returns a number to indicate the
open state of each relay in the list. Since these are Form-C relays, “open”
means that the relay is “reset” to its power-on state (Common to NC).
Parameters
Comments Relay Open Results. The output buffer contains an unquoted string
containing the result for the relay(s): 0 = Not Opened (COMMON to NO)
and 1 = Opened (COMMON to NC).
Invalid Values. Values other than those listed in the table cause error:
2022, “Invalid relay number”.
Querying Relays. To query single relays, use DIAG:OPEN? abc. To query
multiple relays, use DIAG:OPEN? 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 Relays Opened
!Reset module and open all relays
!Closes relays 003 and 014
!(connects relay 002 to relay 013)
!Returns 1,1,0,0
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