LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
PBP

Disable controls on front panel which are inside diagram disable structure on block diagram

Status: New

It is good if controls are disabled on front panel which are inside diagram disable structure as shown image and these controls should be distinguishable from disable and grayed control. This will help programmer.

 

Picture1.png

 

 

Prashant Patel

CLAD

PBP
Labview 6.1 - 2019
6 Comments
Manzolli
Active Participant

I'm not sure about that. Sometimes we comment part of the code just to check something. Even though the terminal of a control is commented, there are other kind of references in BD to it, like Property Nodes, Local Variables and Event Structures. I think it should only possible when no reference to a object is active in the BD. If implemented, should be an option.

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
PBP
Member
Member

This option will help programmers to differentiate controls on front panel.

PBP
Labview 6.1 - 2019
johnsold
Knight of NI

Manzolli has a good point.  More often I find that when use Diagram Disable I still want some kind of data output to the rest of the program.  using the control, possibly in a different way than its original design, is often handy.

 

It takes an extra few steps, but you could just drop a decoration over the controls.

 

Lynn

PBP
Member
Member

From feedback of Manzolli and Johnsold. I want add and change my idea little bit. Here instead of disabling Controls on front panel, only look of the controls and indicators to be changed so that programmer can differentiate them without putting decoration on the front panel. I think this idea will be better.

 

Prashant Patel

PBP
Labview 6.1 - 2019
Darin.K
Trusted Enthusiast
DeltaJ
Member

Could I suggest we have an option to 'hide' controls in an diagram disable case. Something like right click on the diagram and select 'Hide all FP items except Enabled Case'. 

 

Recently I had to do a lot of right-clicking when I disabled some code - and then even more right-clicking when I decided my first approach was the better option;-)

 

Figured I'd post it here due to similarity rather than as a new post!