02-06-2013 10:46 AM
Hi,
i want to implement a closed loop control using DAQ acquisision NI 9234, generator NI 9263 in chassi NI 9174. My first step was to read a signal from my sensor, than i take the same signal and put it as output in generator, than i read the output from generator in a nother channel of the acquisition device.
Both signals in acquisition are the same, but with a delay related to hardware processing. I got a delay around 40ms, which is unadimissible for my experiment.
Is it possible to get a smaller delay with these devices? Am i doing something wrong in my IV?
Thank you so much
05-27-2013 01:30 PM
Hi Renan,
I take a look at your code and note that you use de acquired signal to generate signal and acquire again. Is no the correct way to implement a closed loop control with DAQ devices.
My suggestion to you is generate the signal with a signal generator function from the functions pallete. Preferencily acquire and generate signal with two differnt while loop.
Best regards,