Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

200010 warning at DAQmxStopTask.vi

$
0
0

Hello!

 

My task is to measure some random TTL pulses of 50ns smallest period from the photodetector (PD) while it's gate is opened for a particular time only when a motor, on which a head of the PD is mounted, is at angles that are multiple of fives. Motor is supported with an ActiveX lib, and I use event programming through RegEventCallback to catch when the motor reaches angles 0, 5, 10, 15 and so on. In the loop, iterating every time the callback was called (I use notifiers here to communicate between the loop and the callback) I use for the data acqusition the following VI: Read.png

which is in the "Scan" section of the case structure in the loop. The initialization section of the case structure in the loop contains the following code:Init.png

Here I have to explain that without a "gate task" there would be no counts at all (PD's feature).

 

I continiously get the warning (not the error) 200010 form the DAQmxStopTask.vi, although I have measurements done (non-zero values). I think, there should be something either with the acqusition rate or with the buffer size, but I actually can't get exactly what to change: 20M is plenty enough, 2 samples is twice more than enough (requested by LabView, however)...

 

Please, recommend me something!


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>