LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to clean Up complicated block diagram

i have complicated block diagram cannot be cleaned with button clean up and even some wires and blocks looks like hidden or missed , please help how can i clean it up , see attached 

Ahmed99_0-1744017169209.png

 

CLA
0 Kudos
Message 1 of 6
(164 Views)

If that's how it looks, the diagram is corrupted.

 

Probably because the diagram coordinates are 16 bit, and the limits where exceeded.

 

I don't know if it can be fixed, but I do know there's no quick fix. It will require the VI for sure.

 

I'd try to use scripting to get all nodes and wires (recursively) and set all object coordinates to 0,0. Then try if diagram cleanup can fix it. Alternatively, try to fix node coordinates of objects that have invalid coordinates, but it will be fiddly for sure.

0 Kudos
Message 2 of 6
(161 Views)

Hi Ahmed,

 


@Ahmed99 wrote:

please help how can i clean it up


Pull an older and non-corrupted revision of your VI from your SCC tool (or some other backup).

Cleanup that older revision before attempting to add "new enhancements"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(156 Views)

Looks more like a graphic issue. 

Are your display driver up to date? 

If you scroll on the block diagram does it fix the view?

0 Kudos
Message 4 of 6
(146 Views)

when scroll not fixed , i think my graphic driver is uodated

 

CLA
0 Kudos
Message 5 of 6
(137 Views)

I agree with Wiebe that you most likely exceeded the valid range for the block diagram. You can read more about it here.

 

(It is even possible that the diagram cleanup action itself pushed it over the edge)

0 Kudos
Message 6 of 6
(75 Views)