Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I output a voltage at 50Hz

I m designing a controller and I need to output a voltage every 0.02 ms (50Hz).
I can see how to do that with the WFM function after loading a buffer.
In my case, the next voltage output is recomputed between each iteration: I cannot load output values in advance.
Thanks for help.

Mido
0 Kudos
Message 1 of 3
(2,791 Views)
See attached VI. Hope you have 7.1
Randall Pursley
0 Kudos
Message 2 of 3
(2,785 Views)
If you know ahead of time what kind of signal to output, pre_generate it and then output it using one of the examples of buffered generation.
A problem with timed loop may arise if the time it takes to execute the Analog output write command is way more than 0.02 seocnds (which can be the case)
0 Kudos
Message 3 of 3
(2,778 Views)