Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffered gated event counting

I need to do buffered gated event counting.  I was hoping to buffer counts with a pulse train that acts as both a sampling clock and an active low pause trigger.  However when I try this I get an error -200145  "Measurements: Pause trigger is only valid for event counting if sample clock is not used".  I am able to do unbuffered gated counting but I prefer to be able to display a graph where each data point is the number of events collected during each high gate.

 

I am working in LV 7.1 with NIDAQMX 8.7.1

 

Here is my test vi.  In the second frame there is a constant for a case statement that switches 1 sample and N samples.  I am using a an external function generator to create the pulses I count.  The final version will count pulses from a PMT.

 

0 Kudos
Message 1 of 2
(4,270 Views)
I believe you need to use Two Edge Seperation to perform the task you are looking for because the Pause Trigger is not supported.  I would recommend you check out this KnowledgeBase article.
Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 2
(4,255 Views)