03-21-2017 09:56 AM
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
03-21-2017 01:38 PM
nevermind
03-27-2017 12:28 PM
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.
03-27-2017 03:43 PM
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!