10-10-2013 06:23 PM
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
10-10-2013 08:31 PM
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.
10-10-2013 08:52 PM
@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?