Shortcut & Tip used in LabVIEW
Double-clicking the "Selection Box" selects the entire icon. (+del key =A fast way to delete the Default Icon)
Double-clicking the "Rectangle Box" puts a rectangle around the icon perimeter.
Double-clicking the "Filled Rectangle Box" puts a rectangle around the icon perimeter and fills the inside.
- My personal favorite is probably Ctrl+Double-Clicking to go straight to the block diagram
- My second favorite technique is the LV2 functional global
- The "new" thing I stumbled across the other day was double clicking the font in the icon-editor. This brings up a dialog to set the font you want if you don't like the default.
1) Ctrl + Drag'n'Drop a Block (or a selection of blocks) duplicates it, even if it is a variable, property node, reference or whatever (and does not create a new one as with Ctrl+C, Ctrl+V)
2) This one I discovered accidentally while performing an operation in 1). If you hold down Ctrl + Turn the Mouse Wheel Up/Down inside Structures like Case, Event, etc. (where there may more than one case), LabView will loop through the structure showing each case as you move the wheel.
With the Auto Tool turned on, press and hold 'Shift+Ctrl'. This brings up the Scroll Window tool (the open hand). Now you can click and drag (anywhere on a blank area) the window contents around on the either the front panel or block diagram
Drag and drop VI icon over string control to get the VI name into the control.
In the icon editor category: If you have entered text and before you select another tool use the cursor keys to move the text around pixel by pixel to make it center nicely etc.
You can swap the inputs on most double input functions (comparison, numeric...) by holding ctrl down and hovering over the function. If both inputs are wired, you will see the arrow change to a sort of double loop and a click will swap the inputs. This is useful if you wired something to the wrong input (like in the divide function) or if you want to make your diagram cleaner after writing the code and you want to move the function above or below other wires\functions.
Shift+mouse scroll causes the scrolling to happen in large jumps. This is useful in case you have large diagrams (not that I have any, of course) and let's you have even less exercise.
Positioning the cursor over the horizontal scroll bar and scrolling the mouse causes the display to scroll left and right.
Not exactly hidden, but something that's easy to miss - right clicking a subVI and entering SubVI Node Setup allows you to immediately set some of the window appearance properties.
For those who have office help installed - If you have an ActiveX property or method, you can right click it and select Help For property name and it will take you straight to the relevant place in the office help files.
A select function accept an error cluster, just like a case structure does.
1 To make more space on the block diagram press Ctrl and drag.
2 For icon editing, you can drag a picture file or another VI's icon over (with the arrow tool) and automatically update the icon picture.
Well, speaking of Icon editing: If you pick the font called: SMALL FONTS and use CAPS with size 8 then this looks great in the icon regardless of what you type.
Wow. I use a custom font that I have developed myself for icons which I usually do by hand (I have it memorized) but I wind up using the default sometimes for speed even though I don't think it looks nearly as nice. The small font with caps is veryyyyyy similiar to the custom font I draw though--that should make a good (new) default font for me. Excellent tip.
If you view the radix of a numeric on a control or indicator you can change the formatting by clicking the radix and selecting a new one (hex/oct/bin/decimal/etc). This comes in really handy sometimes while debugging since you can change the radix on the fly without having to stop everything and start over.
If you view the radix of a numeric on a control or indicator you can change the formatting by clicking the radix and selecting a new one (hex/oct/bin/decimal/etc). This comes in really handy sometimes while debugging since you can change the radix on the fly without having to stop everything and start over.
Select SHIFT + right click to get the tools pallete on FP or block diagram.
But did you know you can very easily toggle the autowiring on and off with the 'a' key? This in combination with the space-bar for changing the wires' direction (which y'all probably knew already) makes a quite powerfull combo and certainly saves me some mouseclicks now and then.
The escape key will cancel a text entry, wiring change, item resize, move or other change if pressed before the mouse button is released.
Use Ctrl-Z to undo changes after the mouse button is released. I sometimes find it useful to have more than just the default 8 undo steps (I have it set to 50). To change it go to Tools -> Options... -> Block Diagram and remove the check next to "Use Default" and enter your own value.
Ctrl-Shift-Z is used to redo changes that have been undone.
Shift Key speed boost also works with objects being moved using the arrow keys
And while this has already been said "Double-clicking the "Filled Rectangle Box" puts a rectangle around the icon perimeter and fills the inside", it also provides a quick way to erase the existing icon.
posted on 2005-09-05 00:45 LabVIEW开发者 阅读(411) 评论(0) 编辑 收藏 举报