i am trying to design a counter that will
(a)count 1 for first high/true
(b) count 2 for second high/true
(c) reset to 0 after counting second high/true.
NI Software :
LabVIEW version 7.1.1
I am pasting a reply from NI support engineer and also attaching a file of what I tried to do.
Thank you for contacting National Instruments.
I think this task is a great challenge. To solve it, I think you'll
need to use a while loop with a sift register and a case structure. You can use
the shift register to keep your count. Then once your count is equal to
two, reset the shift register to zero. I think that should get you squared
away.