Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to I determine when my Two edge separation counter starts counting

Solved!
Go to solution

I've been searching through a ton of Daqmx properties, the, web and the NI-forum to find the answers to the question "How do I determine when my Two-Edge Separation Counter actually starts counting.

 

So I set up my two edge separation counter on two known PFI channels that both trigger when they detect an positive edge.  Now, because i'm using an accelerometer to trigger my first pulse, my concern is that it may possibly be triggered before the test is run.  So I'd like to have labview (if possible) be able to query whether or not the first trigger has been triggered and the counter has begun counting.  If this information is not known, I could run my sample and get a value that is incorrect.  Knowing whether or not the counter has begun counting prior to executing the test, will prevent the operator from running a test, effectively consuming a test item.

 

Thank you ahead of time for any information.

 

-John

0 Kudos
Message 1 of 3
(4,819 Views)
Solution
Accepted by Deezee

I would poll the CI.Count property.

 

CI.Count.png

 

Once the first edge is seen the count will begin incrementing.

 

 

Best Regards,

John Passiak
Message 2 of 3
(4,815 Views)

That was it!  Thanks for the reply John!

0 Kudos
Message 3 of 3
(4,809 Views)