Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Time duration to read simple sample in c#

Hi,

I'm trying to get a value every millisecond. I measure the reading time and I notice that some measurements are greater than a millisecond, not much but still. I get the correct value but sometimes it's to long (results in picture below, max 27 ms).

 

output.png


I tried to change the reading functions, "sampleQuantityMode", buffer size, rating but the problem is still there. Same result with code examples.

These are the results after 10 minutes running (Second col : time for reading single sample / Third col : occurences).

Console app in C# with Visual Studio 2022. Daq NI PCIe-6321 / BNC-2090A

Can you tell me where is the issue and what am I missing ?
Thanks a lot

Download All
0 Kudos
Message 1 of 1
(160 Views)