Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Programming DAQ relay

1 view
Skip to first unread message

wkc3348

unread,
Aug 12, 2008, 1:40:07 PM8/12/08
to
Hi,
 
I am a LabView newbie.  I am trying to set up a data acquisition for some of the instrumentation in the lab.  One of my tasks is to use a relay to turn on a switch that operates a pump.  I have purchased the 9481 module and was able to trigger the 0/1 in the MAX task (Generate Signals - > Digital output -> Port output).  I have set up two tasks, one for on (1) and the other for off(0).  However, I was not able to trigger the relay by linking a task constant to DAQmx Start function.  Do you have any suggestion?  Thanks in advance!
 
wkc

RT4CY

unread,
Aug 14, 2008, 5:40:10 PM8/14/08
to
Hi wkc,

To access the shipped examples, launch the NI Example Finder by going to Help»Find Examples.  Browse to Hardware Input and Output»DAQmx»Digital Generation.  You can also indicate which examples will work with the NI 9481.  Take a look at the attached image.


9481_examples.jpg:
http://forums.ni.com/ni/attachments/ni/170/349463/1/9481_examples.jpg

wkc3348

unread,
Aug 15, 2008, 12:10:08 PM8/15/08
to
Thanks for the link.  I have figured the problem out.  Attached is the screenshot of my vi. wkc


relay_pump.JPG:
http://forums.ni.com/ni/attachments/ni/170/349647/1/relay_pump.JPG

0 new messages