Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6008 DAQmx no aquisition

Hello,
I'm using CVI 8.0 with DAQmx 8.3 and NI-USB6008, WinXP.
I want to start a non-triggered continous aquisition on one or more analog inputs. I get the data by NI-DAQmx-events (after n-samples). Normally this works very fine. But sometimes I get no events and there is no data available from the driver. But DAQmx does not report any error. It looked like I configured a trigger but I did not, and later (to be sure) I added "DAQmxDisableStartTrig(  allset.meas.hTask )". That didn't solve the problem.
It is a "binary" problem, if the measuremnt is runing from the start it will do so until stopped without problems, but if it didn't do anything after start it won't do anything for ever.
None of the DAQmx-functions reports an error.
The n-samples-event is not set to 0 in any case (by me), but there comes no data.
There is no trigger defined.
 
Thanks for help.
0 Kudos
Message 1 of 2
(2,787 Views)

I could fix this problem. I tried lots of things: changed the n-samples-interval, did a reset of the device before preparing the measurement, played with the buffer-size, nothing helped. What did help was: I stopped the measurement even it was not running. Hmmmm???.

Afterwards the measuremnt could be started and run without problems, the events came and -'voila'- data was also there. So my preparation of a measurement ends with a DAQmxStopTask-command. Then everything is fine.

0 Kudos
Message 2 of 2
(2,776 Views)