Hello,
I've run into a problem with my pulse counter or pulse train resetting when I run the attached VI. The VI doesn't actually stop, rather it appears that the counters "data" (from Counter DBL 1Samp) resets to zero...maybe, not sure, maybe the problem is with the pulse train?!?!?
I have attached the VI as well as a JPG image of the VI if anyone wants to take a gander.
What I'm atttempting to do is generate a continuous pulse sequence and to count the number generated pulses. We are looking to have this running continuously for several days at a time.
So far the VI works fine for short durations (<1hr) or as long as the counted # of "Revolutions", derived from counter "data", is below 41941. Once you hit this value (takes ~50 mins with the current settings) I've found that either the counter resets or there is an interruption in the pulse train.
As of yet I haven't been able to figure out which one is the problem. I tried looking into buffer problems but when I tried to use DAQmx READ "AvailSamplPerChan" an error comes up saying that the output is non-buffered or something to that effect.
Anyway, we'd like to have the continuous pulse train and the # of pulses generated (pulse count) to run for several days so if there is an easier way to do this or you know how to fix the current VI I'd aprpeciate any help you can give.
We're using the USB-6259 and Labview 8.0.
best
SS