LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Counter

I have a system requirement to determine if an event has occurred 5 or more times in the last hour.  This event occurs when input signal conditions logic goes true.  This would imply that there is a mechanism to record events on a queue and remove them when they become more than 1 hour old.  Unfortunately, I think in C++ style of programming and want to use a structure.  Given that LV is a signal flow description, maybe there is a lean and elegant block to handle this task?   The more likely answer is that there are a combination of other blocks and that I must learn change the way I think. 

 

Constructive and actionable guidance is appreciated.  An example would be ideal.  Thank you.

 

0 Kudos
Message 1 of 2
(2,889 Views)

Do you want to solve this problem in C or using LabVIEW? Some of the terms in your post suggest the latter, in this case you might get better response in the LabVIEW forum.

0 Kudos
Message 2 of 2
(2,883 Views)