09-10-2025 03:51 AM
Hello,
I am writing a waveform to the DAQmx output with a length of e.g. 1 second or more. The output writing can be stopped at any time. When I start writing other data again, the data writing seems to continue where it stopped instead of writing new data. Is there any way to clear the output buffer ? Or to prevent writing different data than I want. Before calling DAQmx Write.vi, the DAQmx Write.vi property node is called with the Offset property set to zero.
09-10-2025 07:26 PM
To help us help you, please attach your VI - you will probably get the most help if you can save for LV 2020.
Off the cuff:
Does your task allow regeneration?
Do you stop the task or simply stop writing new data to it?
Would DAQmx Clear Task be appropriate for your application? And spin up a new task when you are ready to output again.
What kind of latency are you looking for from the time you change the output to the time that change appears at the ao connector?