LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview black scrren when i zoom out

hi

Labview black screen when i zoom out 

 

 what happen i ope the new project and start code and save yesturday today morning i open all loop are enlarge and i try to zoom out to see what happen but labview screen is black the i cloase and ope the same file but no use still the screen was block can any one help this problem

0 Kudos
Message 1 of 5
(777 Views)

Zoom In/Zoom Out feature still has a lot of issues. Your block diagram is huge (in terms of size); it looks like you exceeded some internal limits (32K pixels or so). This particular issue with the black screen can also be reproduced in the recent LV2026.

The only way is to start from scratch, do it accurately and carefully, and ideally not make your diagram larger than one screen. When it starts growing, move some code into subVIs (just select, then create SubVI) and refactor step by step to keep all diagrams fitting on one screen. Also, BD Cleanup is not working for your VI, so restarting from the beginning is seems to be the only option.

0 Kudos
Message 2 of 5
(743 Views)

@Andrey_Dmitriev wrote:

... it looks like you exceeded some internal limits (32K pixels or so). .


For more details on that, start reading here.

0 Kudos
Message 3 of 5
(713 Views)

I don't use zoom in LabVIEW, out of principle. But this is not a zoom problem, at least not primarily. It is a design problem!!

 

A diagram of that size is more than insane. It's the personification of evil. It's impossible to understand and comprehend it, and a complete pitta to edit, debug and maintain. It also brings my computer to a complete crawl even while editing here this text in the browser as long as that VI was loaded and LabVIEW didn't get closed after that.

There is a guideline that your VI diagram should not be bigger than one screen. It's not a hard rule that would get you shot when extending a few pixels beyond that size, but if anyone wants me to review their VI and it extends to more than about two screens I'm very likely to simply refuse and tell them to clean the diagram up and make proper subVIs first.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(656 Views)

Hi,

 


@Andrey_Dmitriev wrote:

The only way is to start from scratch…


Well: you can always go back to a "known good" revision in your SCC (source code control) system.

@Rajapalani: Do you use any SCC tools yet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(650 Views)