From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 2569 reset counter

Hello,

 

how is it possible to reset the switch counter of the PXI 2569 relaycard?

To read I can use the ViStatus niSwitch_GetRelayCount (ViSession vi, ViConstString relayName, ViInt32* relayCount);

 

Doesn't matter if CVI or LabVIEW. This must be possible somehow.

 

regards

MB

0 Kudos
Message 1 of 3
(2,440 Views)

Hello MB,

the relay switch counts are only available for reading through the NI-Switch and NI-DAQmx APIs. The is intended, as the use of this counter is to track relay usage, enabling maintenance personnel to decide when to replace the card's relays. To reset the switch counts after relay replacement, open the NI-Switch Soft Front Panel and chose File » Relay Maintenance (see screenshot):

 

18181i749305238B120303

 

Best regards,

Sebastian

0 Kudos
Message 2 of 3
(2,416 Views)

Is there a way to do this programmatically?

0 Kudos
Message 3 of 3
(2,241 Views)