Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx write delay for long data

Hi, can anyone help me?

 

I'm trying to write a long PWM data to DAQ NI-USB-6002 analog output, but I'm having problems on time delay. 

 

I want to output a sequence of 5 PWM with different duty cycles at the exactly time I press RUN button. However, it is taking almost 4 seconds to the data be output. I realize that the data is very long (each PWM has 4 seconds length and is sampling at 5kHz), but I really need control of what time data starts to be output. What can I do?

 

Thanks

0 Kudos
Message 1 of 4
(2,424 Views)

nevermind

0 Kudos
Message 2 of 4
(2,403 Views)

Hi cgermer,

 

I didn't understand your last post. Did you solve your problem? If so, what was the solution you found? If not, please let me know so I can help you.

 

Best Regards.

Felipe Flores
Technical Support Engineer
National Instruments
0 Kudos
Message 3 of 4
(2,368 Views)

Hi Felipe,

 

Actually I didn't have to do anything. It has a delay, but it is ok. The problem before was that I forgot that I initialize the sequence with zeros!

 

Sorry about that!

 

 

0 Kudos
Message 4 of 4
(2,359 Views)