Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to show counts using Count Digital Events Buffered Continuous - External Clock

I have a 100 Hz clock signal going into the CTR0/Gate channel of a PCI MIO board. 
I have a 5 Hz clock signal going into the CTR0/SRC channel of the same PCI MIO board.
Both are grounded to the CTR0/GND (dig gnd)

I run the program and I get no count updates.  When I use MAX, I can get it to count on the Gate channel, but that isn't the proper way to do it.  I need to be able to use the method in the program I am having trouble in. 

I am using VB .NET 2005 and Measurement Studio.

I have attached a screen shot of the program.

Thanks!
Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 1 of 2
(3,571 Views)

Hi Michael,

I believe that the issue is with your source and gate signals. The buffered event counting counts the number of edges of the source and latches the value each rising edge of the gate signal. If you switched the signals you should be able to measure a number of edges of the 100Hz signals between edges of the 5Hz signal. I have included a link to a document that outlines additional details about the buffered edge count.

Buffered Event Counting
http://zone.ni.com/devzone/cda/tut/p/id/5404

Steve B

0 Kudos
Message 2 of 2
(3,552 Views)