LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

difference between multiple AO update and AO waveform

Hi all,

  I am writing a code for analog output. I know how to update a single AO output but I am reading the manual about using AO library. I wonder in some AO modules, I can set the sample update rate (default to 1000 per second). So here is my question. If I use AO waveform generation module with number of elements given, what will the sample update rate affect the output? Will it be difference if I set it to 1000 or 5000?

 

If I want to generate N discrete analog samples, each separated with 0.0005 seconds, should I use AO waveform generation module with update rate set to 2000? or use something else? Currently, I use a loop to update the single AO point N times but I wonder if there is a better way to do that with AO module

0 Kudos
Message 1 of 3
(2,238 Views)

If you update signal at fast speed, let's say above 10Hz, you should use a waveform, not a single point update. Update rate means how many sample you update per second. Hence, dt=0.0005 means f=1/0.0005=2000Hz.

0 Kudos
Message 2 of 3
(2,227 Views)

@KateB wrote:

If you update signal at fast speed, let's say above 10Hz, you should use a waveform, not a single point update. Update rate means how many sample you update per second. Hence, dt=0.0005 means f=1/0.0005=2000Hz.


Thanks. If I want to generate 500 delta pulses every 0.005sec with AO Write Waveform, will it keep the output pulse or it will smooth the output with continous wave?

0 Kudos
Message 3 of 3
(2,224 Views)