LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting NI 9422 Counter

Hi all:

 

I have the 9422 configured as a counter. Every time I run my program the counter does not reset which causes me to have an inflated volume flow. Is there a way to reset the counter programmatically?

 

Thanks

0 Kudos
Message 1 of 5
(2,715 Views)

bump

0 Kudos
Message 2 of 5
(2,677 Views)

Anyone? Thanks!

0 Kudos
Message 3 of 5
(2,653 Views)

Hello,

 

I found a couple community examples that will walk you through how to reset your counter in different ways. 

 

The first link below is a walkthrough tells you how to reset a counter when you have a file I/O and need to reset after a certain amount of time.

 

https://decibel.ni.com/content/docs/DOC-5411 

 

The second link below is how to count digital events with the added feature of resetting the counter using a boolean control.

 

https://decibel.ni.com/content/docs/DOC-6576

 

The last link uses a property node to reset the counter.

 

https://decibel.ni.com/content/docs/DOC-26249

 

I am not sure what your full program is, but hopefully one of the examples can lead you in the right direction. 

 

Hope this helps!

Karen M
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(2,650 Views)

Thank you for your reply. I will attempt these solutions in the coming days. I will let you know what happens.

 

Thanks again!

0 Kudos
Message 5 of 5
(2,642 Views)