I am using LabVIEW with DAQmx to read data, and I need to read the chart every 100ms. I have the number of samples and the sampling rate, and I am using continuous acquisition mode.
To read every 100ms, I need to adjust the number of samples per channel in the Read function. However, I am unsure of how to do this consistently since the sampling rate can change.
What is the best way to ensure that I can read the chart every 100ms regardless of the changing sampling rate?
Thank for your help.
Images: