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

Count number of triggers from paused counter source

$
0
0

I have a very large, very complicated VI that I am using to control an experiment. This experiment requires certain environmental conditions to be true in order to acquire data. Once these conditions have been met, a trigger is sent to an independent data acquisition system to initialize the acquisition. I need to be able to count the number of times these triggers have been sent (approximately one is sent every 10-15 mins) but can't seem to get the CI Cnt Edges scheme to work. I can't use DAQ Assistant because it is too slow due to the size of my VI.

 

Anyways, I have the VI setup so that I basically have an analog output as Pause source on the counter output that sends the triggers. I just need some way to count these pulses but the way I currently have it working, the VI won't stop or abort because I have the Counter sample wait time as -1 (wait indefinitely) and I have to terminate labview from the task manager to stop the VI. Is there an easier way to do this?

 

I am using Labview 2014 with a PCI-6221 DAQ with a BNC-2120 attached for all of my outputs.


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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