08-01-2012 11:55 AM
I had an internet help make some simple code additions for me and in the process expanded my BD to a degree that it is very bothersome to work on. She left me with a large gap in the center of my code, then saved it. Is there a method that does the opposite of Ctrl+right click+drag?
I basically need to move half of a state machine loop(s) and all included VIs on that half of the BD at once? Don't want to manually move 20+ cases worth of VIs individually if I can help it.
Now the real question - Why does an intern have a bigger screen than I do?!?!?
08-01-2012 11:58 AM
roll back to a previous version in source control?
Once it's saved you're pretty much SOL.
See if the block diagram cleanup makes things manageable. :dunno
08-01-2012 01:06 PM
You might want to Kudo the idea for it: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Contraction-shortcut-opposite-of-Ctrl-Shift-drag/idi-p...
08-01-2012 01:13 PM
If you're lucky the code cleanup tool (ctrl+u) can help.
/Y
08-01-2012 04:06 PM
Block diagram clean up doesn't work, it actually makes things worse. Too much done already to revert back a version.
If nobody else has any ideas, I'll just deal with it in the mean time and make her fix it later.
08-02-2012 06:25 AM
@AMP12 wrote:
[...] and make her fix it later.
And take away her large monitor. When I was an intern we didn't have large monitors, we programmed using... Ah, forget it; you kids wouldn't understand.
08-02-2012 06:45 AM - edited 08-02-2012 06:45 AM
I'd be tempted to take the intern's large monitor away and then ask them to correct the problem. I think I've got an old EGA monitor around here somewhere.
08-02-2012 07:06 AM
08-02-2012 11:18 AM
08-07-2012 07:43 PM - edited 08-07-2012 07:47 PM
ctrl+u can be tuned in the LabVIEW ini to provide better results. I have not found a magical setting for it yet. (My BDs don't usually get too bad) but I think a reasonable BD Clean-up is achievable with some persistance (try it- undo -reset- try it again) Take snapshots along the way. Perhaps even try 1 setting Optomized vertically and reset to optomized Horizontally and clean again. (That technique seams to hold the most promise IMHO.)
Now, What were you doing giving a chunk of code to an intern WITHOUT a style guide requirement and supervision?
see post 17 here You are not alone