LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What DAQmx function is used to control relays in an NI 9481?

I'm trying to control the four relays in a NI 9481 cdaq module. I have created a task to communicate with the module. What DAQmx function is used to open/close the relays? DAQmxWrite??? or what?

0 Kudos
Message 1 of 2
(4,373 Views)

I've never used such a module, but you could start looking at the examples supplied with CVI.

 

Open the Example Finder (Help >> Find Examples... menu function), add your device to the device list at the bottom left of the window, check "Limit result to hardware and navigate in the tree to locate applicable examples. It appears that WriteDigPort seems a good starting point.

 

Screenshot 2014-10-22 10.19.33.jpg



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(4,360 Views)