How Do I Check the Status of the Relays on My NI 948x Compact DAQ Relay Module? Hardware: CompactDAQ, CompactRIO>>Digital Output Modules>>NI 9485
Problem: I am using an NI 948x relay module with Compact DAQ. I know that I can use the DAQmx Write VI to open and close the relays, as explained in KnowledgeBase 44LAPTNP: What Functions Do I Use to Operate My Compact DAQ Relay Module?. Is there any way I can check the status of the relays to see if they are open or closed? Solution: You can use the DAQmx Read VI with a DAQmx Digital Output channel to read the status of a relay on the NI 948x module. A Boolean value of True corresponds to a closed relay, and a Boolean value of False corresponds to an open relay. The VI below shows an example of how this is done in LabVIEW:
Related Links: KnowledgeBase 44LAPTNP: What Functions Do I Use to Operate My Compact DAQ Relay Module? Attachments:
Report Date: 09/04/2007 Last Updated: 09/04/2007 Document ID: 4D3F2P9S |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

