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:
Example Opening Relays
DIAGnostic:OPEN?
DIAGnostic:OPEN? <relay>{,<relay>...} returns a number to indicate the open state of each relay in the list. Since these are
Parameters
| Name |
|
| Type |
| Range of Values |
|
|
|
|
| ||
| <relay> |
| numeric | |||
| DIAG:OPEN333 |
| ||||
|
| |||||
|
| |||||
|
|
|
| |||
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 | |||||
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 |
Chapter 3 | DIAG: | 0 |
|
| RF Switch Command Reference 31 | |
| *RSTOPEN?CLOS03,01401,002,003,014 |
|