08-06-2014 09:18 AM
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
08-06-2014 12:59 PM
bump
08-07-2014 08:53 AM
Anyone? Thanks!
08-07-2014 09:26 AM
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!
08-07-2014 02:53 PM
Thank you for your reply. I will attempt these solutions in the coming days. I will let you know what happens.
Thanks again!