How Do I Track Relay Usage on NI Switch Products? Hardware: Switches
Problem: Is there a way to get the relay life from the EEPROM of my switch device? I want to track relay usage. Solution: You can track the relay usage of some switch modules by reading the relay count from the EEPROM of the device. In the LabVIEW environment, use niSwitch Get Relay Count to get the number of times the relay has changed from Closed to Open.
If you are programming in C, the function is called niSwitch_GetRelayCount. The C function prototype is as follows: ViStatus niSwitch_GetRelayCount (Vi Session vi, ViConstString relayName, ViInt32* relayCount); For additional information, refer to the NI Switches Help file located on the system under Start»All Programs»National Instruments»NI-SWITCH»Documentation»NI Switches Help. If you do not have the driver installed, the help file can be found using the link below. Related Links: Product Manuals: NI Switches Help Attachments:
Report Date: 05/04/2007 Last Updated: 01/22/2008 Document ID: 4932N7I |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

