Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

40ms delay between acquisision (NI 9234) and generator (NI 9263) in chassi NI 9174 without data processing

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

Download All
0 Kudos
Message 1 of 2
(3,174 Views)

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,

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 2 of 2
(3,034 Views)