LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My VI doesnot auto-clean

Solved!
Go to solution
Solution
Accepted by topic author Rohit_Chawla

@Yamaeda wrote:

wiebe@CARYA wrote:

@Yamaeda wrote:

I don'r have LV on this computer so can't open and take a look, but is it very big? There's a limit to how big a VI can be of ~16k pixels.

/Y


There are objects with positions <-30000 and > 30000. So, yes, it's big. The current range might be the result of an automatic wrap, so the diagram might have been smaller "by design".

 

Restoring the node positions (scripting) fixes some problems, but we'd probably also need to reconnect all wires. And some need diagram reclusiveness will probably pop up.


Right, it's +/- 32k, not 16. Anyhow, maybe the 'hack' of selecting all and Align Top and Left, then move stuff out automatically or painstakingly manually.

/Y


Select all, align left, then align right crashes LabVIEW.

 

Select all, align left, align top doesn't fix it.

 

After some scripting movement of wires, and a shrinking of the diagram, a blue wire appears that isn't connected to anything on either side... Thinks are way of.

Message 11 of 16
(604 Views)

"If Automatic Clean up makes your code look better you have a problem" : So true....

0 Kudos
Message 12 of 16
(535 Views)

The scripting part seems difficult. So sadly, I will be re-coding it again. 😞

0 Kudos
Message 13 of 16
(530 Views)

@Rohit_Chawla wrote:

The scripting part seems difficult. So sadly, I will be re-coding it again. 😞


No really, but it didn't do the trick. If it did, I would have posted it.

0 Kudos
Message 14 of 16
(514 Views)

wiebe@CARYA wrote:

No really, but it didn't do the trick. If it did, I would have posted it.


What if you half all the X and Y values of items to shrink it to 50%?

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 15 of 16
(490 Views)

@Yamaeda wrote:

wiebe@CARYA wrote:

No really, but it didn't do the trick. If it did, I would have posted it.


What if you half all the X and Y values of items to shrink it to 50%?

/Y


I think what's wrong can't be fixed.

 

I know for a fact that every structure has coordinates, that can be set (UI or scripting). But each diagram in the structure also has coordinates. These can't be set through a normal interface. They can be changed, as it's 'just' binary data. I suppose they can also get messed up. I suspect those coordinates, or similar data, will stay broken even after fixing the parent.

 

I might give it a try anyway. (The OCD part of being a programmer really sucks 😐.)

0 Kudos
Message 16 of 16
(461 Views)