DIAGnostic:RELay:CYCLes?
DIAGnostic:RELay:CYCLes?
Syntax
DIAGnostic:RELay:CYCLes? (@<ch_list>)
Description
This query reads the cycle count on the specified channels. In addition to the channel relays, you can also query the count on the Analog Bus relays and bank relays.
Used With:
- All modules except for 34907A
Parameters
Name Type Range of Values Default Value <ch_list> Channel List One or more channels, as shown:
(@302) - channel 12 on the module in slot 300.
(@311:314) - channels 11 through 14 on the module in slot 300.
(@201:212,213,322:323,198) - channels 1 through 12 and 13 on the module in slot 200, channels 22 through 23 on the module in slot 300, and tree relay 98 on the module in slot 100.
This is a required parameter.
Remarks
- On the RF Multiplexer modules, each bank consists of two leaf relays and one tree relay (see diagram below). The module stores the cycle count for each of the three relays on all four banks. The DIAGnostic:RELay:CYCLes? query always returns the same count for channels 111 and 112, 113 and 114, 121 and 122, and 123 and 124.

- The reset state of the three relays is shown above for Bank 1 (a reset operation selects the lowest channel within the bank). The cycle count for any of the three relays is incremented whenever the relay transitions from the reset state. Therefore, the cycle count reflects a complete transition of the relay from, and back to, the reset state. For example, closing Channel 111 will not increment the leaf relay cycle count, but closing Channel 112 will increment the cycle count.
-
To read the cycle count on the relays associated with function selection and isolation on the internal DMM, use the DIAGnostic:DMM:CYCLes? command.
-
See the Keysight 34970A/34972A Service Guide for information on replacing relays.
Return Format
The query returns the cycle count for each channel specified. The value returned is between 0 and 4,294,967,294 (32-bit value). Multiple responses are separated by commas.
Example
The following query returns the cycle count on channels 03 and 13 in slot 100.
DIAG:REL:CYCL? (@103,113)
Typical Response: +76289,+11055