12-10-2019 06:40 AM
@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.
12-11-2019 01:52 AM
"If Automatic Clean up makes your code look better you have a problem" : So true....
12-11-2019 01:55 AM
The scripting part seems difficult. So sadly, I will be re-coding it again. 😞
12-11-2019 04:55 AM
@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.
12-11-2019 08:51 AM
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
12-12-2019 02:27 AM
@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 😐.)