LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing floating subdiagram label

Solved!
Go to solution

After some rework on the VIs to eliminate un-needed sequences I noticed a problem with subdiagram label... 

 

michelesantucci_0-1733397601437.png

As you can see there are at least two residual label floating around... and they cannot be removed in any way (for my limited LabView knowledge).

They cannot be 'selected' 

I tried also removing the container sequence but the label persist... I can only change the text inside (of course they are empty).

How can I fix this?

 

0 Kudos
Message 1 of 19
(414 Views)

Hi Michele,

 


@michele.santucci wrote:

After some rework on the VIs to eliminate un-needed sequences I noticed a problem with subdiagram label... 

 

As you can see there are at least two residual label floating around... and they cannot be removed in any way (for my limited LabView knowledge).


Get an older version of that VI from your SCC repository and start to "rework" again. Try to avoid the steps that created those floating labels...

 

What did you do to create them?

Whenever I reworked older VIs I mostly remove sequences at all so there is no need for sequence frame sublabels...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 19
(410 Views)

Hi Michele,

 

Can you attach your VI (pref version LV2021)?

I could try inspecting the VI with VI scripting.

 

Regards,

Raphaël.

Message 3 of 19
(408 Views)

> Can you attach your VI (pref version LV2021)?

 

I can attach it without problem but LV2013.

0 Kudos
Message 4 of 19
(377 Views)

Get an older version of that VI from your SCC repository and start to "rework" again. Try to avoid the steps that created those floating labels...

 

hi GerdW... unluckly the original code was already populated with sequences and sublabels.

0 Kudos
Message 5 of 19
(376 Views)

If you activate warnings in the Error window (ctrl+L) is might show floating labels and you can select them from the list.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 19
(369 Views)

Hi Michele,

 


@michele.santucci wrote:

hi GerdW... unluckly the original code was already populated with sequences and sublabels.


This is not the main problem with your VI!

(Using SCC would help when those floating labels are created by your attempts to improve this VI.)

 

You should create subVIs from main steps and recreate the main VI from scratch using those subVIs and a better architecture.

In a proper architecture there should be NO Stop function inside the VI, but right now there are dozens...

 

@Yamaeda:

This only helps when there are no other errors. Right now the error list shows a max of 100 errors due to all those missing subVIs and global variables...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 19
(355 Views)

I opened the vi in LabVIEW 2017. I managed to vertically resize (shrink) both labels until they disappeared.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 8 of 19
(350 Views)

How did you do? I can focus these sublabels but I cannot select them neither pin on an edge to resize it...

0 Kudos
Message 9 of 19
(334 Views)

@michele.santucci  ha scritto:

How did you do? I can focus these sublabels but I cannot select them neither pin on an edge to resize it...


Moving carefully the mouse pointer near the horizontal center of the label I eventually saw the resizing blue squarelet.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 10 of 19
(328 Views)