03-11-2020 09:31 PM
I was wondering what can impact the time it takes for the AnalogMultiChannelReader::ReadMultiSample to return? I have an application and I notice that if I store too much data in memory (about 400MB) that the ReadMultiSample return time stops being consistent. If I graph the data versus time I will start to see that about every 1 second the ReadMultiSample will take about 7 times longer to return then the following 7 calls of the function take less time (I'm guessing to empty the buffer). Once I dispose of the stored data the return times start being consistent again. I am using .net, windows 10, NI-9239 at 50KHz, 1000 samples at a time.
05-27-2020 06:14 AM
Hello Nanovea156,
I think it may related to memory.
Have you use Memory-Optimized Analog Reads?