08-09-2011 07:05 PM - edited 08-09-2011 07:08 PM
Hello,
I'm using USB 6009 to read signals from PMT and other equipment for experiments and I have a couple of questions:
1. Is it possible to read a signal with out DAQ assist? I've looked around the forums and haven't seen any relevant material.
2. This is probably true, but I haven't checked it yet. Is it possible to read two signals in the same loop (eg, AI0 & AI2 in a while loop)?
I'd appreciate if you'll point me to the right directions.
Thank you,
A
P.S
I should probably mention that I want to read the signals with out using DAQ assist because of the assumption that DAQ assist is slower than a direct measurement.
Solved! Go to Solution.
08-09-2011 07:52 PM
1. Yes. You would use the lower level DAQmx functions. Search the example finder for numerous DAQmx examples.
2. Yes you can and should read both signals in the same while loop. For a USB 6009 it is mandatory because both channels need to be a part of the same acquisition task.
Look at this Getting Started with NI-DAQmx: Main Page
08-09-2011 09:31 PM - edited 08-09-2011 09:32 PM
Hi Ravens Fan,
Thank you for the answers and link. This is what I'm trying to do, and I've read the post on this link (the error code page): http://digital.ni.com/public.nsf/allkb/485201B647950BF886257537006CEB89 I think my error is mostly case #4 on the page (mostly because I dont use DAQ assist).
But, I can't figure out how to terminate/clear channel to release the device for the next one. Any ideas?
Thank you.
08-09-2011 11:39 PM
HI Ravens Fan,
Nevermind, I've figured it out... well the first stage of it at least :-).
Thank you again,
A