03-13-2013 08:12 AM
NI 9237 continious sampling
sampling rate:2k
Have a while loop to read the samples.
N channel N sample 1D waveform
1, If I set a number of samples to read, no mater what the number is (i.e. 10, 20, 50, 100), the loop reading rate is like only 5Hz (read 5 times oer second)
2, if I don't set a number of samples to read (i.e. read all available samples), the loop reading rate is as fast as it can be, but the Y attribution of the waveform cannot be get ( i.e. empty array), the waveform can be shown on the chart control though.
03-14-2013 03:20 PM
Hi Eric_LZ,
Feel free to include the code you are using. Are you setting the sample mode on your Timing VI to continuous? There are a few possibilities of what could be occurring, but it might be easier to pinpoint if you included your VI.
Cheers,