07-05-2019 05:26 AM
Hi,
I am trying to set up a program, which can read different kinds of sensors selected at the front panel.
My setup is locked on a specific channel (First channel - select sensor, Second channel - select sensor and so on..)
But when I run my program I get this error:
I can't get readings from both at the same time. Can someone tell me what I doing wrong?
Thanks
Solved! Go to Solution.
07-05-2019 05:38 AM - edited 07-05-2019 05:39 AM
Hi M.,
you still try to initialize two (or more) DAQmx tasks using the very same DAQ device. And it seems your DAQ device does not support several tasks at once.
Put all channels into just one task. (As is explained in the example VIs coming with LabVIEW&DAQmx!)
You asked a very similar question here…
07-05-2019 06:07 AM
Hi GerdW,
Thanks for your answers. But I still can't get it to work.
I tried setting it up like this instead. (picture)
But still the same result.
Not sure where to find the example you refer to.
best regards.
07-05-2019 06:31 AM - edited 07-05-2019 06:32 AM
Hi M.,
But I still can't get it to work. I tried setting it up like this instead. (picture)
It doesn't help to show a small part of your big block diagram…
You can't even run such a small simple VI like this?
Instead of trying to improve that big mess of your VI you should really start with a fresh small VI.
(You still didn't improve any of all those things I mentioned before!)
Not sure where to find the example you refer to.
In the LabVIEW example finder!