ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean counting?

Solved!
Go to solution

From what I can tell it's flowing correctly...the true value from the digital input case structure is flowing into the while loop...obviously I'm missing something. Explain?

0 Kudos
Message 11 of 13
(702 Views)

after getting the 2 true values, I don't need to look at the DI anymore.

0 Kudos
Message 12 of 13
(702 Views)

Hi skinner,

 

you're reading the DI only once before the loop!

 

But you need atleast 3 reading to detect your two rising edges, hence you need to read the DI in a loop...

Think about it!

 

Edit:

You know you can edit posts? No need to post two messages within one minute...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 13
(694 Views)