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

Flashing LEDs

I have two switches and three LEDs. I want just one to flash based on the switch settings. I have attached the file. This is just a test file for a larger project, but I am not sure why this is not working. Can someone "enlighten" me? Thanks.
0 项奖励
1 条消息(共 5 条)
3,159 次查看
It looks like your problem is that your property nodes and are inside of the case, rather than being outside of the case, fed by values from within the case.
When Boolean 2 goes False, Boolean 3 is set to True and Blinking. When Boolean 2 goes True, the Property node for Boolean 3 never sees it, because that case isn't executed. So Boolean 3 stays blinking.
When Boolean 2 is True, the values and Blinking properties for Booleans 4 and 5 are based on Boolean. When Boolean 2 goes False, Boolean 4 and 5 values and properties remain at their last settings when Boolean 2 was True.
You need to move the property nodes outside of the case but feed them through the case. If you want it to operate in a loop, you'll need to add shift registers.
0 项奖励
2 条消息(共 5 条)
3,158 次查看
Do it this way.
0 项奖励
3 条消息(共 5 条)
3,158 次查看
Or do you want Boolean 3 to always respond to Boolean 2? Then just move Boolean 3 and its property node outside of the case, and wire them directly from an inverter from Boolean 2, not inside of the case. The False case will then be empty.
Look at the attached LV6.1 example.
0 项奖励
4 条消息(共 5 条)
3,159 次查看
Thanks for the help. I wasn't seeing it that way, and I still had to disable the two LEDs in the false statement, and disable their blinking, but it works. Thanks.
0 项奖励
5 条消息(共 5 条)
3,159 次查看