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. The simplest way to find the count of a particular relay is through the Switch Soft Front Panel. Right-click on your NI-Switch module in Measurement & Automation Explorer (MAX) and select Test Panels.
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 (July 2008) Attachments:
Report Date: 05/04/2007 Last Updated: 03/04/2009 Document ID: 4932N7I |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||



