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.
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.
05-10-2019 04:41 PM
I am looking for a simple example for opening and closing the switches on the NI-9482 in Labwindows. There is an example in LabView but it is not clear to me what functions need to be used to open and close the switches.
Thanks
05-13-2019 11:31 AM
Hi Barney,
Check this information http://www.ni.com/tutorial/3449/en/#toc6
In point 6, you will find Special Considerations for Form C Relays like the NI-9482.
Regards,
Natalia
Technical Support Engineer
05-14-2019 09:48 AM
Thanks for the reply. But I do not understand the path forward here....
Maybe I am not understanding something but all I need to do is open or close a switch on your NI-9482 module. Normally this is one line of code for a microprocessor (very simple). However, the link you provided seems like development of a driver to operate switches and looks like a very involved process with no clear path on how to actually implement in a simple Labwindows example code. Are you saying that there are no functions within Labwindows to simply open or close a switch???
05-14-2019 11:38 AM
Hi,
This is the way that you usually program this module in LabVIEW https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8TMSA0&l=en-US
And here you can find how to use the DAQ assistant in CVI http://www.ni.com/tutorial/4650/en/
Additionally, some relays can be controlled using the DAQmxSwitchOpenRelays and DAQmxSwitchCloseRelays functions documented here:
http://zone.ni.com/reference/en-XX/help/370471W-01/daqmxcfunc/daqmxswitchopenrelays/
http://zone.ni.com/reference/en-XX/help/370471W-01/daqmxcfunc/daqmxswitchcloserelays/
You can find an example in the following location on your computer, if you elected to install text-based DAQmx examples during the installation of DAQmx:
¿C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Switches\Control Individual Relay¿