06-28-2012 02:27 PM
Hi
I'm new to using LabVIEW and DAQ Assistant. I'm trying to use the DAQ assistant to output a digital signal to control valves. I require 10 separate controls (for 10 valves) in LabVIEW to control whether the valves are on or off once the program is running and have the valve all automatically turn off when the program ends. I'm trying to use a while loop with the 10 controls and DAQ assistant's STOP function to accomplish this but I got stuck in that I don't really understand how the DAQ works (the help is really confusing).
Thanks
06-28-2012 03:02 PM
Aside from your sloppy wiring, instead of wiring the stop button to the DAQ Assistant, wire the task out through the while loop so you can write an array with all False values in it.
06-28-2012 03:27 PM
Hi
Thanks for your response. Sorry about the wiring, I wasn't really going for aesthetics at the moment.
So do you mean that I should create an array of false constant and wire it via a shift register from the task out to the stop or something else altogether?
Thanks very much
07-03-2012 11:52 AM
Also, I'm wondering, if I have multiple DAQ assistant and NI USB DAQ board, how do I control which hardware the DAQ assistant corresponds to?
Thanks
07-05-2012 04:31 PM
Hi
Can anyone help me out?
Thanks
07-05-2012 10:05 PM
07-06-2012 11:13 AM
Hi Red_CCF,
During the configuration stage, DAQ assistant lets you specify which hardware channels to read/write to. Also, if you are just getting started with DAQ I recommend that you go through the following video tutorials and DAQmx getting started guide:
Getting Started with NI-DAQmx: Basic Programming with NI-DAQmx