LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mark Shepard

Changing state of Boolean constant is too easy

Status: New

Please consider making it so changing the state of a Boolean constant is done via a right-click operation rather than just left-clicking the Boolean constant.  The present and prior left-click operation frequently results in changing the state when only trying to move the object.  Sometimes the state change is not noticed and thus causes problems.  Making it a right-click operation would remove this potential problem.

 

Thank you

6 Comments
RavensFan
Knight of NI

I'd say your idea is a part of this idea already.

 

Lock Block diagram object from accidental editing

 

I hope people seeing your idea will get them over to there and start kudoing that idea.  It really has way too few kudoes.

ReneW
Member

I agree that the mentioned behavior of the Boolean constant could lead to errors.

You have a similar problem with the stop condition in loops.

 

I would suggest that the the 'Boolean constant' symbol or the 'stop condition' symbol would blink / flash 2 or 3 times each time you change its logical state.

 

With this option you would see an undesired change immediately and it would stay simple to alter the logical state.

I think it is much easier to change the state directly (actual behavior) instead of using a context help menu (as you recommended).

 

Mark Shepard
Member

Left click is certainly easier, but how often to you intentially change a boolean contant?  Once I set it, I rarely have a need to change it again, except for the cases when I accidently change it, which is more frequent than I would like..  Right-click with a simple invert selection is not much more effort than the present left-click. 

 

The stop condition does have the same issue, only that there are less of them and they are larger so easier to move without accidentlly changing state.  But I would prefer the right-click for that also.

 

Of course these problems occur while building vi's, so locking the block diagram is not a solution.

lordsathish
Active Participant

Blocking the left click will be unfair, Left clicks are more intuitive. There could be some other mechanism to prevent Boolean values from toggling.

Mark Shepard
Member

Why not have a configuation option allowing every programmer the freedom to have it left- or right-click according the programmer's preference.

SteveP
Active Participant

I set the boolean's Label to "T" or "F" and make it visible as a way to remind me what its default value should be.

 

Loop Conditionals do not have a label but that Idea has been proposed :

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Label-for-conditional-terminal-of-loops-to-know-its-de...