LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update analog output fast

Hi!

I was wondering that how does the Labview can update the analog output
immediately after it received a calculated value. I tried use Analog
single output before, but the result was not optimized. The required
output is continuous rather than square wave ( i.e. hold the value for
a short period ).
Please help me to sort it this problem. Thanks you!
0 Kudos
Message 1 of 3
(2,833 Views)
Tom;

Even if Labview updates the AO channel immediately after the new value comes, there will still be the transfer of the new data from the computer memory to the board, though DMA. That might insert some overhead if your computer has many devices sharing the DMA channels.
Anyway, to accomplish that, you can take the Labview example that shows how to do Continuous Waveform Generation, and modify that one for your needs.
If you wire the new valuew to the AO Write.vi inside of the while loop, the new Analog Output value will be updated on the fly.
Hope this helps.
Filipe
0 Kudos
Message 2 of 3
(2,833 Views)
Filipe wrote in message news:<5065000000050000000B650000-1012609683000@exchange.ni.com>...
> Tom;
>
> Even if Labview updates the AO channel immediately after the new value
> comes, there will still be the transfer of the new data from the
> computer memory to the board, though DMA. That might insert some
> overhead if your computer has many devices sharing the DMA channels.
> Anyway, to accomplish that, you can take the Labview example that
> shows how to do Continuous Waveform Generation, and modify that one
> for your needs.
> If you wire the new valuew to the AO Write.vi inside of the while
> loop, the new Analog Output value will be updated on the fly.
> Hope this helps.
> Filipe


Hi Filipe,

Thanks for your response.

I have written vary met
hod, like AO wave, A0 gen, AO write.vi to
generated the continuous waveform once the it get the calculated
value. Hopefully this will work on this coming Monday! Thanks you.

regard, tom
0 Kudos
Message 3 of 3
(2,833 Views)