12-02-2014 11:59 AM
Hi,
I was trying to run the Finite Measurement DAQ-mx template project, but sometimes when i want to acquire signals from a NI cDAQ-9172, i get this error: "Error -200284 ocurred at DAQmx Read (Analog 1D Wfm NChan NSamp).vi:2930001".
The part of the code responsible for the acquisition can be found at "Acquire Data from Hardware.vi":
I remeber using the same code in Labview 2013 and it worked just fine. Rigth now i have Labview 2014 and DAQmx driver installed.
What could be the problem?
Regards,
Pedro
.
12-03-2014 05:27 AM
How much is sample and sample rate? Which analog card are you using?
12-03-2014 07:42 AM
I'm using a cDAQ-9172 with one NI 9215 module.
As for the sample rate and number of samples per channel, i've used 10000Hz and 5000 samples. I've tried different values, but i keep getting this error.
12-04-2014 01:14 AM
How much time out you have kept in analog read VI?
What is your application? I mean are you continuously aquiring?
12-04-2014 06:40 AM
If you are only using 1 channel, you should be using the 1 Channel N Sample Waveform instance of the DAQmx Read.
12-09-2014 05:30 AM
I'm using the applicattion included in the attachment to do a finite acquisition.
I've tried to acquire 5000 samples from 2 signals at 10kHz.
This error does not happens all the time. The first time i make an acquisition, i get this error, but in the next attemps the error appears to be random.
I also experimented with higher frequencies and lower number of samples, but the error continues to appear.
Regards,
Pedro
06-06-2016 08:21 AM
I have the same problem with elvis II, How I can understand the problem is the buffer size of the device. It won't flush measurement via USB port, and gives this error after a time. I think solution can be emptying buffer frequently