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

Name

Type

Range of Values

 

 

 

<relay>

numeric

001-003011-014021-024031-034041-044

 

 

051-056101-103111-114121-124131-134

 

 

201-203211-214221-224231-234241-244

 

 

251-256301-303311-314321-324331-334

 

 

 

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

 

DIAG:CLOS

0

!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

*RST

?001,002,003

 

 

 

 

 

 

 

 

 

 

 

Name

 

Type

Range of Values

 

 

 

 

 

 

<relay>

 

numeric

001-003011-014021-024031-034041-044

 

 

 

 

051-056101-103111-114121-124131-134

 

 

 

 

201-203211-214221-224231-234241-244

 

 

 

 

251-256301-303311-314321-324331-334

 

 

 

 

 

 

 

 

 

 

30 RF Switch Command Reference

 

 

Chapter 3

Page 30
Image 30
Agilent Technologies E1470A user manual DIAGnosticCLOSe?, DIAGnosticOPEN relay,relay... opens individual relays on