From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom in on Block Diagram


@Dennis_Knutson wrote:
Since a block diagram should never be larger than one screen, no need to zoom out.

Especially when someone has developed on 2550x1440 and you open the VI on a test station with 800x600, right?

 

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 21 of 84
(1,252 Views)

The ignorance of the LabView developers is extremely frustrating.

I would abandon LabView, but must use it for external customers.

 

0 Kudos
Message 22 of 84
(1,051 Views)

@tedt2 wrote:

The ignorance of the LabView developers is extremely frustrating.

I would abandon LabView, but must use it for external customers.

 


They are NOT ignorant.  They know this is one of the most requested features of all time.  They just haven't found a solution yet.  Why don't you give it a try, as you are apparently NOT so ignorant.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 23 of 84
(1,049 Views)

@tedt2 wrote:

The ignorance of the LabView developers is extremely frustrating.

I would abandon LabView, but must use it for external customers.


Such harsh words are not going to get anything done any time soon.  I know NI knows this is an issue.  But there is also almost 30 years worth of code base that they have to go through in order to actually make it happen.  This has been discussed many many times on these boards.  It is the really old code that is at the core of LabVIEW that will have to be changed in order for this to happen.  And yes, that code was written well before anybody even thought of having a zoom feature for any program out there.  There is a an effort to work on some of this core, but it will be over many many years.

 

As was suggested to you in other boards, use a smaller resolution and/or the Windows zoom program.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 24 of 84
(1,021 Views)

@tedt2 wrote:

The ignorance of the LabView developers is extremely frustrating.

I would abandon LabView, but must use it for external customers.

 


Another way to go would be to use a decent application architecture. Then there's really no need for a zoom function.

 

State machines, Actor Framework, Plug-in architecture all work wonders to keep your code manageable. 



Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Message 25 of 84
(1,012 Views)

@EdDickens wrote:

@tedt2 wrote:

The ignorance of the LabView developers is extremely frustrating.

I would abandon LabView, but must use it for external customers.

 


Another way to go would be to use a decent application architecture. Then there's really no need for a zoom function.

 

State machines, Actor Framework, Plug-in architecture all work wonders to keep your code manageable. 


I havn't tried working with LV on a 4k monitor, but i'm sure i'll miss a zoom function the most. 😉

It's not a case of good or bad code design, but simply the fact that if it were text based code - we'd be locked at 10 pixel fonts.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 26 of 84
(1,009 Views)

@Yamaeda wrote:

[...] but simply the fact that if it were text based code - we'd be locked at 10 pixel fonts.

/Y


That somehow lacks the comparison. It would be more about automatic word wrapping. Imagine to implement for a C compiler but the editor simply displays your lines without wrappings.

You would have to scroll on the horizontal scrollbar to view the lines or to shrink text size (read: zoom out) to see all code.

 

I learned textual languages with the recommendation: take care of line feeds and layout.....

So this is a case of "best practises".

 

And for LV, it is "best practise" to keep the code of a single VI to match a screen size without the need of scrolling.

Using SubVIs and other stuff (like Ed mentioned) is the key to keep readable code.

If developers decide to disregard this best practise, they shouldn't blame the tool if their work becomes a nightmare for maintainance.

 

The only valid situation for this request is: receiving inherited code. And for this use case, NI introduced the navigation window, which is already mentioned in this discussion thread.

 

just my 5 cents,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 27 of 84
(1,000 Views)

@Norbert_B wrote:

@Yamaeda wrote:

[...] but simply the fact that if it were text based code - we'd be locked at 10 pixel fonts.

/Y


That somehow lacks the comparison. It would be more about automatic word wrapping. Imagine to implement for a C compiler but the editor simply displays your lines without wrappings.

You would have to scroll on the horizontal scrollbar to view the lines or to shrink text size (read: zoom out) to see all code.

 

I learned textual languages with the recommendation: take care of line feeds and layout.....

So this is a case of "best practises".

 

And for LV, it is "best practise" to keep the code of a single VI to match a screen size without the need of scrolling.

Using SubVIs and other stuff (like Ed mentioned) is the key to keep readable code.

If developers decide to disregard this best practise, they shouldn't blame the tool if their work becomes a nightmare for maintainance.

 

The only valid situation for this request is: receiving inherited code. And for this use case, NI introduced the navigation window, which is already mentioned in this discussion thread.

 

just my 5 cents,

Norbert


That is an argument against a zoom OUT (which I am completely against) and a zoom IN (which I could understand).  This person is complaining they can't read the text in a subVI block. For that, they would like a zoom in.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 28 of 84
(988 Views)

To be honest, I really didn't even think of the zoom/zoom out feature to look at huge BDs.  I'm a firm believer that if you can't describe your VI in a paragraph or two, it's probably too big and needs to be broken down into subVIs - and yes, that goes for the main VI, too!  For me, it would be all about using a huge monitor and having trouble seeing the little tiny icons on the screen.  😉

 

I know you can change screen resolution but it's inconvenient

Changing DPI messes up the free labels (maybe more, but that's the most obvious one).

 

Still, it's not enough to go on a rant and declare that I'd abandon LV if it weren't for my customers.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 29 of 84
(981 Views)

Well, yes, my remark is obviously biased.

Of course, no one can predict the future (at least as far as we know!), but i doubt that ZOOM OUT does any good for LV. I fear that zoom OUT would lead for unskilled developers to mash everything in a single VI, then wondering why things break and calling for help. Nobody of course can grant effective help in that situation without a significant amount of time invested in code analysis.....

 

A ZOOM IN on the other hand can become handy if wiring up subVIs with many parameters. So no rant against this option.

 

Norbert

 

PS: Sorry if i mistook your post, Yamaeda....

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 30 of 84
(975 Views)