取消
显示结果 
搜索替代 
您的意思是: 

boolean counting?

已解决!
转到解答

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 项奖励
11 条消息(共 13 条)
638 次查看

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

0 项奖励
12 条消息(共 13 条)
638 次查看

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 项奖励
13 条消息(共 13 条)
630 次查看