LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the easiest way to identify an orphan label's corresponding ctrl/indctr?

Solved!
Go to solution

Forgive me for what may be stupid question Smiley Sad but somehow a label was separated from its original control or indicator in my (large) block diagram- I'm curious to know if there is any quick way to find the associated control or indicator? maybe a keystroke combo of somesort?

 

Thanks

-pat

0 Kudos
Message 1 of 12
(2,556 Views)
Solution
Accepted by topic author plyons.gks

Not sure if it's the easiest way but you can try this:

 

Select the orphan label on the BD, press CTRL+F (opens the find and replace dialog box)

Select search for text

Type the label name

The search result should show 2 results, The label of the control on the FP and the label on the BD

If you go to the control and right click and select find terminal you will find the terminal associated with the orphan label.

 

Ben64

Message 2 of 12
(2,545 Views)

If you Right-click the label and select Properties, both the label and its terminal will be selected after you dismiss the dialog.

Message 3 of 12
(2,521 Views)

@Darin.K wrote:

If you Right-click the label and select Properties, both the label and its terminal will be selected after you dismiss the dialog.



That should do it (usually) but the OP refer to a large block diagram so I went for the worst case (50 in. to fit in 1 screen). Another way would be to check "lock label", move it and spot the control moving with it.

 

Ben64

Message 4 of 12
(2,517 Views)

If you feel lucky I suppose you could Ctrl-u (BD cleanup) and see where the label goes and then Ctrl-z to undo the mess that is surely created.  I would have thought that doing a cleanup on a selection consisting of a terminal and its label would have moved the label to the default location like it normally does during cleanup, but it does not.  I consider this to be a bug, although ironically one of the things I dislike about the BDCT is that it moves my labels.  Just goes to show, they have made it so it moves the labels when I do not want it to and in the ONE case where I would like it to move the label it chooses not to.  Thanks guys!

0 Kudos
Message 5 of 12
(2,509 Views)

I love this forum.

 

 thanks guys!

 

-pat

0 Kudos
Message 6 of 12
(2,503 Views)

Wait!  There's more.  As the added super bonus, if you have LV9 or later you can use Quick Drop, Ctrl-space Ctrl-t will move all of the control labels to the left and indicator labels to the right of the terminals, where they belong.

Message 7 of 12
(2,497 Views)

@Darin.K wrote:

Wait!  There's more.  As the added super bonus, if you have LV9 or later you can use Quick Drop, Ctrl-space Ctrl-t will move all of the control labels to the left and indicator labels to the right of the terminals, where they belong.


Wow that's cool but it seems to work only if the terminal and labels are outside a structure, bug? (using LV2009)

 

Ben64

0 Kudos
Message 8 of 12
(2,495 Views)

@ben64 wrote:

@Darin.K wrote:

Wait!  There's more.  As the added super bonus, if you have LV9 or later you can use Quick Drop, Ctrl-space Ctrl-t will move all of the control labels to the left and indicator labels to the right of the terminals, where they belong.


Wow that's cool but it seems to work only if the terminal and labels are outside a structure, bug? (using LV2009)

 

Ben64


I believe that issue is being worked on.

 

https://decibel.ni.com/content/thread/9491?tstart=0

0 Kudos
Message 9 of 12
(2,492 Views)

Yet another method is to go Advanced > Customize. Once the editor opens, you'll see where the label is in relation to the control.

Move the label where you want it, quit the Editor, and click "Yes" to change it, then "Don't Save".

Richard






Message 10 of 12
(2,481 Views)