LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Two DAQ Assistants

Hello

I've got the following problem:

I have a .vi with two DAQ-Assitants. The first one is a DAQ-Input who is collecting the data from several sensors. The second one is a DAQ-Output who should controll a pump.

Now, separately, both of them work fine. The pump works as long as it should and I get all the needed information from the sensors. But as soon as I've got both assistants in the same .vi, the input-one doesn't work... So the pump is still doing their job, while I'm  receiving just the default-values from the sensors... It seems like their waiting for something to finish...

Any ideas what the problem is and how I could solve it?!?

If it helps:
- LabVIEW 8.5
- DAQ USB6210
- .vi is attached

Thanks in advance for any help!
   reepicheep
0 Kudos
Message 1 of 6
(2,849 Views)
Oh, I forgot to add that I've got just an Evaluation Software... But I don't think this should make a difference....
0 Kudos
Message 2 of 6
(2,841 Views)
The problem might be because both the DAQ assistants will be trying to access the DAQ
simulataneoulsy, try using the same DAQ assistant for both the operations...
0 Kudos
Message 3 of 6
(2,832 Views)
I also thought that it could be something like that. But is it possible to use one DAQ-Assistant simultaneously as an input and as an output? And if yes, how?
0 Kudos
Message 4 of 6
(2,827 Views)
Althought DAQ Assistants VI's are good to begin with, they are not handy when you want to perform multi-function operations like simultaneous output and input
Unlike what 'lordsatish' has posted, simultaneous input/output is possible in a Multifunction DAQ card ( Analog, digital, counter/timer Multi-function combinations)
 
There are two things I can suggest you to make your vi work
1. Simplest thing: Put your two DAQ Assistants in separate while loops in the same VI
 
2. Go to Example VIs shipped with LabVIEW and look at VI's found in Find examples>>Hardware input output>>DAQmx>>synchronization>>Multi Function folder. Here you can pick, modify and use an example VI that suits your application
 
Anymore doubts, do ask
 
 
0 Kudos
Message 5 of 6
(2,826 Views)
Thanks for the tip with the two while-loops... works perfectly...
0 Kudos
Message 6 of 6
(2,821 Views)