"I have connected the oscilloscope to LabVIEW and demonstrated how to obtain real-time waveforms. I am measuring dynamic data approximately 20 seconds after triggering and saving it as a CSV file.
However, when I save the waveform to CSV, the demo waveform plot includes the previous 10 seconds of triggered waveform. Every time I save the data, it retains the previous 10 seconds' data.
For example, with a sampling rate of 100 and recording for 20 seconds, the CSV contains 100 * 10 * 20 * n = 2,300,000 data points (where n is the number of times the oscilloscope sends data per second), but I expect to have 100 * 20 = 2000 points of data.
How can I fix this?"