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.
02-04-2019 11:55 PM
Hello Friends,
I have problem in editing Block diagram of my Main VI. Whenever I try to move any object or wire on my Block diagram the whole block diagram moves (momentarily) with it and same happens when I place that object/wire at final position. This problem makes editing slow and also spacing between other objects in block diagram is also disturbed.
Please find below link of Video of the problem :-
Please let me know the solution of this problem.
Thanks
Solved! Go to Solution.
02-05-2019 01:55 AM
02-05-2019 02:53 AM
@GerdW wrote:
Hi ssingh,
how big is your block diagram?
Mind to attach your VI?
Dear GerdW,
Thanks for your reply. Yes the block diagram is quite large. But I would like to inform I had reduced the size 2-3 months back (VI size came down from 4.8 mb to nearly 3 mb) and that it was working very well previously also at that huge size. Attaching VI may not be possible due to office policy.
Thanks
02-05-2019 03:09 AM
HI ssingh,
Yes the block diagram is quite large. But I would like to inform I had reduced the size 2-3 months back
I'm talking about the dimensions in pixels. You find those values using the "VI Metrics" in the Tools->Profile menu.
(VI size came down from 4.8 mb to nearly 3 mb) and that it was working very well previously also at that huge size.
3 MB is still quite large…
You know LabVIEW will compile your VI in the background with every change you do. Did you change the compiler settings in the last time (Tools->Options->Environment)? What happens when you change that setting to other values? (Read the help as mentioned next to that compiler setting slider!)
Attaching VI may not be possible due to office policy.
Can you create an example VI demonstrating the very same problem?
02-05-2019 08:00 AM
All Block Diagrams should fit on a single Screen. A better "Style Rule" is All Block Diagrams should fit on a single Laptop Screen (or 1024x768 pixels, or some other "small" rule).
The key to accomplishing this can be summarized by one word: SubVIs.
Reference: Peter Blume's "The LabVIEW Style Book".
Bob Schor
P.S. -- I wonder if you haven't accidentally "selected" the entire Block Diagram, which means moving something moves everything ...
02-05-2019 10:23 AM - edited 02-05-2019 10:24 AM
I wonder if it has to do with the fancy "real time" block diagram update feature in later versions of LV (2015 +)? I know this, combined with large block diagrams, can bring your PC to its knees when moving objects, causing all kinds of weirdness. I forget what the option is, and how to disable it; hopefully this post jogs someone's memory.
02-05-2019 11:20 AM - edited 02-05-2019 12:23 PM
@GerdW wrote:
Yes the block diagram is quite large. But I would like to inform I had reduced the size 2-3 months back
I'm talking about the dimensions in pixels. You find those values using the "VI Metrics" in the Tools->Profile menu.
Looking at the scrollbars, it does not seem that the block diagram is way oversized, but maybe the origin is way off center. I would try to do a "select all" on the diagram, copy it and paste it into a new VI to see if it makes a difference.
02-06-2019 12:32 AM
Dear GredW,
Thanks for your reply. Please find below my In-Line reply in orange color :-
--------------------------------------------------------------------------------------------------------------------------------------------------
@GerdW wrote:
HI ssingh,
Yes the block diagram is quite large. But I would like to inform I had reduced the size 2-3 months back
I'm talking about the dimensions in pixels. You find those values using the "VI Metrics" in the Tools->Profile menu.
I am attaching an image for VI Metric, size in pixels seems to be 4750 X 2360.
(VI size came down from 4.8 mb to nearly 3 mb) and that it was working very well previously also at that huge size.
3 MB is still quite large…
You know LabVIEW will compile your VI in the background with every change you do. Did you change the compiler settings in the last time (Tools->Options->Environment)? What happens when you change that setting to other values? (Read the help as mentioned next to that compiler setting slider!)
Yes I did tweaked that setting but it had no effect.
Attaching VI may not be possible due to office policy.
Can you create an example VI demonstrating the very same problem?
All other VIs are working fine, however they are not so large.
-------------------------------------------------------------------------------------------------------------------------------------------------
Thanks
02-06-2019 12:41 AM - edited 02-06-2019 12:42 AM
@billko wrote:
I wonder if it has to do with the fancy "real time" block diagram update feature in later versions of LV (2015 +)? I know this, combined with large block diagrams, can bring your PC to its knees when moving objects, causing all kinds of weirdness. I forget what the option is, and how to disable it; hopefully this post jogs someone's memory.
Dear Bill,
Thanks for your rely. I too suspect that this feature (or some thing similar related to Block-Diagram UI Update) causes this problem.
Can someone Kindly shed more light on this.
Thanks
02-06-2019 12:48 AM
@altenbach wrote:
@GerdW wrote:
Yes the block diagram is quite large. But I would like to inform I had reduced the size 2-3 months back
I'm talking about the dimensions in pixels. You find those values using the "VI Metrics" in the Tools->Profile menu.
Looking at the scrollbars, it does not seem that the block diagram is way oversized, but maybe the origin is way off center. I would try to do a "select all" on the diagram, copy it and paste it into a new VI to see if it makes a difference.
Here is a link explaining the limits for the coordinates..
Thanks for your reply. I could not exactly understand your words "origin is way off center".
Did you meant to say that some stray block diagram object may be lying far away that the rest of the Block Diagram's center? I checked on that and center seems to be ok to me.
Thanks