07-19-2011 02:38 PM
Hello,
I'm currently trying to read two voltage channels with the USB 6009. It happens that one of the channels is the output of a digital encoder, and it would be a lot easier to use it directly at the PFIO input set as a counter. The problem I'm facing right now is that I can't seem to use the DAQ Assistant to use both the analog voltage from one channel and the counter for the digital channel at the same time. Once I set the DAQ Assistant to read analog voltage inputs, I will only be able to add analog inputs. And as I set the DAQ Assistant to use the PFIO as a counter, I can no longer add analog voltage inputs to be read.
I wonder if it is possible to solve this problem using the lower level DAQ blocks? Another solution would be to read both channels as analog voltage inputs and than use Matlab to process the resulting data, since I haven't been able to do the pulse counting to work simultaneously with the acquisition in Labview.
Hope you guys can help me out.
Thanks in advance.
Solved! Go to Solution.
07-19-2011 03:43 PM
Using a single DAQ Assistant is incorrect. You need one to acquire analog inputs and one for the counter.
07-24-2011 07:19 PM
I used two while loops, one for each DAQ Assistant and got the routine working instantly. Thanks Dennis!