05-01-2006 01:33 AM
05-01-2006 02:45 AM - edited 05-01-2006 02:45 AM
Message Edited by altenbach on 05-01-2006 12:46 AM
05-01-2006 03:05 AM
If you're really desperate, you could try going to the LAVA forums and checking out the scripting board. You can use scripting to make the structures in your diagram size to fit their content, but actually writing a program which will "compact" your diagram is a lot of work and may not be worth it. Another option may be to use the Edit>>Create SubVI option. It takes a selected block of code and turns it into a subVI, which might help you. The code itself will stay the same size, but it will now be inside another VI, where you can't see it.
As for the placement of the new objects, I believe LV remembers the placement of the rightmost and the bottommost objects in your VI, even if they don't exist anymore. I would try copying the code for the entire VI and pasting it in an empty VI or using the Controls[] property to go through all the objects in the FP and see if there is an object in the bottom right area (maybe even a hidden one).