01-14-2022 05:25 AM
Literally, it grows on its own. Everytime I place a new control, remove something, move something, or do anything a bunch of the terminal in the block diagram shift to the right. And since every structure is set to auto grow, they do just that. I don't know why this is happening, I've never see this on any program before. If I had the time to completely overhaul the program I would, but that is not an option. Does anyone know if there is a specific bug or option that could be causing this?
01-14-2022 05:46 AM
Hi pndavkota,
@pndavkota wrote:
Everytime I place a new control, remove something, move something, or do anything a bunch of the terminal in the block diagram shift to the right. And since every structure is set to auto grow, they do just that. I don't know why this is happening,
So you know "autogrow" is enabled, but you don't know why your block diagram grows upon placing more items inside such structures?
@pndavkota wrote:
If I had the time to completely overhaul the program I would, but that is not an option.
Well, I recommend to refactor such "huge" block diagrams. Really!
@pndavkota wrote:
Does anyone know if there is a specific bug or option that could be causing this?
An enabled options is not a "bug"...
Disable that option for all structures!
01-14-2022 07:21 AM
@GerdW wrote:
Hi pndavkota,
@pndavkota wrote:
Everytime I place a new control, remove something, move something, or do anything a bunch of the terminal in the block diagram shift to the right. And since every structure is set to auto grow, they do just that. I don't know why this is happening,
So you know "autogrow" is enabled, but you don't know why your block diagram grows upon placing more items inside such structures?
@pndavkota wrote:
If I had the time to completely overhaul the program I would, but that is not an option.
Well, I recommend to refactor such "huge" block diagrams. Really!
@pndavkota wrote:
Does anyone know if there is a specific bug or option that could be causing this?
An enabled options is not a "bug"...
Disable that option for all structures!
Some developers love the auto-grow feature and are very proficient at using it. I am not one of those.
01-14-2022 07:21 AM
What version of LabVIEW are you using? An odd thing was observed and solved here.
01-14-2022 07:40 AM
It's also been known for a long time that very large block diagrams will cause all kinds of weird issues (I don't remember the exact size that things to haywire). So the solution is to refactor and use subVIs.
01-14-2022 08:35 AM
@billko wrote:
@GerdW wrote:
Hi pndavkota,
@pndavkota wrote:
Everytime I place a new control, remove something, move something, or do anything a bunch of the terminal in the block diagram shift to the right. And since every structure is set to auto grow, they do just that. I don't know why this is happening,
So you know "autogrow" is enabled, but you don't know why your block diagram grows upon placing more items inside such structures?
@pndavkota wrote:
If I had the time to completely overhaul the program I would, but that is not an option.
Well, I recommend to refactor such "huge" block diagrams. Really!
@pndavkota wrote:
Does anyone know if there is a specific bug or option that could be causing this?
An enabled options is not a "bug"...
Disable that option for all structures!
Some developers love the auto-grow feature and are very proficient at using it. I am not one of those.
I'm with you. Here are some other things I don't like:
01-14-2022 11:18 AM
@crossrulz wrote:
It's also been known for a long time that very large block diagrams will cause all kinds of weird issues (I don't remember the exact size that things to haywire). So the solution is to refactor and use subVIs.
The coordinates are I16 and anything can happen if you start wrapping.
01-14-2022 05:36 PM
There is a tool called "Nattify" that you can use to turn off all auto-grow in all structures at once in a VI.
It does a number of other things too that many (but definitely not all) LabVIEW developers like to have altered, so check what else it does before you do it and it changes other things you weren't expecting.