LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange Boolean Value

Sort of revisiting this discussion with the discovery of the following:

 

1) if you take a "Latch when Pressed" control and transform it into an indicator (in which case I would assume that "latching" doesn't really have any meaning or importance), its "Value" property node will still have the "undefined" color. However, it behaves as any other Boolean indicator at run time.

If you 

I'd say the Value PN color should be Boolean green!

 

2) if you take a "Switch when released" Boolean control and connect a Boolean to its "Value" PN on the BD, THEN change its mode to "Latch when pressed", the PN will turn gray (undefined), the Run arrow will break, while the wire will be fine:

Bool1.png

If you Ctrl-Run Arrow, you will break the wire:

 

Bool1.png

Now, if you change the control to an indicator, the wire remains broken, although we have seen in 1) above that things should work.

And the Ctrl-Run Arrow trick fails to fix the problem.

 

I conclude that there are anticommutation rules at play in LabVIEW (which makes it a quantum computing system, I guess?).

 

Tested in LV 2011

0 Kudos
Message 11 of 11
(194 Views)