LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

about cleaning up analog output buffer

Hi all,

  If I use the buffered analog ouput, I set the buffer size to be 100000, which is much bigger than the length of the signal. I wonder after the analog output signal task done, will the buffer clean up and reset automatically?

 

I write 1023 samples to the buffer and start the task at a certain sampling rate, what happens after all 1023  samples outputed but I didn't clear and stop the task? Will it stop automatically or will it output some junk data from the buffer?

0 Kudos
Message 1 of 2
(2,138 Views)

Assuming that you've set your sample clock to finite samples and you're not using Regeneration Mode, the device should stop outputting when the write task outputs all available samples in the buffer.

However, it is best practice to stop and close the task in order to receive the most predictable behavior from the program.

 

Mike

0 Kudos
Message 2 of 2
(2,099 Views)