11-02-2011 01:01 PM
Hello All,
I have a VI that measures 5 separate analog In lines (pressure transducers, temperature thermocouples, etc..) and 3 DI/O lines (for an angular encoder phaseA, phaseB, and IndexZ). I'm having a few issues (as follows);
1. Trying to simultaneously capture the encoder reading and the analog readings, I tried setting them up on the same 100kHz timebase although the encoder reads at a different rate than the AI lines which produces squewed data. So I tried to make the AI lines read at every rising edge from the encoder pulses, (this caused issue number 2). Is there a way to make both the AI lines and the DI/O on the same sample clock or better yet in the same task for DAQmx?
2. Analog digital converter is too slow (i.e the error that the previous conversion was not completed before a new one was tried), when trying to acquire 5 different Analog In lines triggered by pulses from a Digital I/O line the ADC says its too slow, a work around this perhaps? Currently I have a different task for each Analog In channel, is this causing the error? should I concatenate the channels into one task perhaps? (any recommendations on how would be great).
I have been looking at many posts regarding triggering the Analog In from the DI/O, although I don't believe many of them have the same chassis and modules as me.. I'm working with a NI 9201(Analog In), NI 9401, and a NI 9213 all hooked up to a NIcDAQ-9178.
Solved! Go to Solution.
11-02-2011 01:28 PM
As an adittion to the previous post...
After posting I came across this very useful utility provided by NI.
http://zone.ni.com/devzone/cda/tut/p/id/11549
It outlines synchronizing amongst DAQ devices. I suppose this is therefore a wasted thread since the answers to my questions are answered at that website.
Nick