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.
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.
08-29-2018 03:41 AM
Hi everybody,
before i save my project all is ok.
Sometimes when i load the project , my wires disapear on the rigth of my diagram.
I can clean the diagram, the result is the same .
Someone as an idea ?
Best regards
08-29-2018 03:47 AM - edited 08-29-2018 03:50 AM
Hi electro,
according to the scrollbar your block diagram is huge.
Too huge for LabVIEW: the limit is about 32k pixel width (and height, exactly 2^15-1). (Or was it 2^14-1?)
Solution:
1. Create a backup of your VI and keep it in a safe place. Just to be on the safe side.
2. Cleanup your VI to use more subVIs.
3. Repeat step 2 as often as you need to get the block diagram below 32k pixel width.
Generic advice:
Read the LabVIEW StyleGuide (in the LabVIEW help) and follow those rules!
08-29-2018 04:10 AM
As the positions are stored as absolute coordinates, and the right has reached it's limits, you might have some luck selecting everything, and moving it to the left. Of course, that might cause the same problem on the left... but changes are you've started at 0,0, so you might have room on the left.
Not sure if ctrl+alt+drag (shrink space) works in 2014. That would help a lot. Perhaps even a reason to upgrade.
These are just quick fixes, in general you should not let your program become like this. Refactoring is recommended. Depending on the code, maybe even a restart.
08-29-2018 04:15 AM
Hi
thanks you !
It s ok now.
Best Regards
08-29-2018 04:29 AM
@électro wrote:
Hi
thanks you !
It s ok now.
Already done refactoring? That's fast!
08-29-2018 10:34 AM
General Rule-of-Thumb is that your VI's block diagram should be no larger than 1 screen size. I realize this is usually not practical in top level VIs. But with a proper architecture and modularity (ie subVIs), you should not need much more than the 1 screen to see all of your diagram.
08-29-2018 11:00 AM
08-29-2018 11:03 AM - edited 08-29-2018 11:05 AM
@crossrulz wrote:
General Rule-of-Thumb is that your VI's block diagram should be no larger than 1 screen size. I realize this is usually not practical in top level VIs. But with a proper architecture and modularity (ie subVIs), you should not need much more than the 1 screen to see all of your diagram.
Are you sure about that? This is what my top level VIs generally look like. (Heavily influenced by this post by Ben in the Channel Wires Discussion Forum.)
08-29-2018 12:03 PM
@billko wrote:
@crossrulz wrote:
I realize this is usually not practical in top level VIs.
Are you sure about that?
Ok, let me rephrase that slightly: GUI heavy top level VIs. Yes, I have managed to shrink a lot of these down by using Queued Message Handlers (QMH) and the like. But I have several applications out there that the top level just could not quite be shrunk to 1 screen. But scrolling is almost always just horizontally.
08-29-2018 02:49 PM
@crossrulz wrote:
@billko wrote:
@crossrulz wrote:
I realize this is usually not practical in top level VIs.
Are you sure about that?
Ok, let me rephrase that slightly: GUI heavy top level VIs. Yes, I have managed to shrink a lot of these down by using Queued Message Handlers (QMH) and the like. But I have several applications out there that the top level just could not quite be shrunk to 1 screen. But scrolling is almost always just horizontally.
Some of my GUIs will look like that under the hood. You're right that sometimes you have to grow beyond a screen, mine usually grow/scroll horizontally, also.