Professional Documents
Culture Documents
Tips Labview Development
Tips Labview Development
IEEE I&M Society LI Section & Long Island LabVIEW Users Group (LILUG) Thursday 12/06/2007
20, Default
Select Retain Wire Values on the toolbar to have LabVIEW store the last data item that flowed through any wire in the VI Use the Probe Data tool available on the Tools Palette to click on the wire of interest and obtain the last value through
Filename: LV 8.5 Example Build String.vi
More Colors
Grayscale Bar Select pure black, pure white, or any shade of gray in between. Good choice for panel backgrounds Earth Tones/Muted Bar - Colors for medium to large size objects Highlight Bar Used these colors sparingly, one or two per panel to help draw attention to small objects Transparent - make front panel objects transparent to layer multiple controls and indicators so that they appear in the same place when a user selects a particular option More Colors - Select a specific color using the color utility on the operating system
User Row History Row Currently Selected Color System Colors RGB Color Wheel
User Row Contains colors that you can define in Tools>>Options. Handy if you want to use the same RGB colors frequently History Row Helps you re-use colors that you selected recently System Colors Allows you to set the appearance of a front panel to match the system colors of any computer that runs the VI Currently Selected Color Displays the currently selected color. Objects that have foreground and background colors display the foreground color in the left half of this box and the background color in the right half RGB Color Wheel - To the right of that it either displays the RGB value or the name for User colors and System colors that is the Currently Selected Color
Note: This works only for functions with two inputs when both inputs have already been wired and when using the Auto Tool or Wiring Tool
Shift + Enter
LabVIEW automatically looks in the current directory Right-click on VI and select Call Setup to call it dynamically
Call Setup Good
Better
Select the SMALL FONTS font & use CAPS with size 8. Fit up to 4 lines of text After selecting a rectangle area on the icon paste anything from the clipboard (image, text, control) into the Icon Editor and have it automatically resized to fit area set Holding down the <Ctrl> key will switch to the Color Copy (Eyedropper) selection tool Copy an image to a VI icon by dragging the image file and place it on the icon located in the upper right corner of the Front Panel or Block Diagram
This resource offers you a selection of over 500 pre-made icons that you can download and use for free in your own VIs, toolbars, and applications Sample Icons from NIs Icon Library Collection
LabVIEW 8.2
LabVIEW 8.5
LabVIEW 8.2
LabVIEW 8.5
Duplicates selected object. Ctrl-click (drag) Duplicates selected object. Ctrl-click (drag) Ctrl-Shift-click (drag) Duplicates selected object and moves in one axis. Ctrl-Shift-click (drag) Duplicates selected object and moves it it in one axis. Shift-resize Shift-resize Ctrl-resize Ctrl-resize Ctrl-Shift-resize Ctrl-Shift-resize Resizes selected object while maintaining aspect ratio. Resizes selected object while maintaining aspect ratio. Resizes selected object while maintaining center point. Resizes selected object while maintaining center point. Resizes selected object while maintaining center point and aspect Resizes selected object while maintaining center point and aspect ratio. ratio.
Ctrl-drag a rectangle Adds more working space the front panel or block diagram. Ctrl-drag a rectangle Adds more working space toto the front panel or block diagram. Selects front panel or block diagram items. Ctrl-A Selects allall front panel or block diagram items. Ctrl-A Ctrl-Shift-A Ctrl-Shift-A Ctrl-D Ctrl-D Double-click open Double-click open space space Ctrl-mouse wheel Ctrl-mouse wheel Spacebar (drag) Spacebar (drag) Performs last alignment operation on objects. Performs last alignment operation on objects. Performs last distribution operation on objects. Performs last distribution operation on objects. Adds a free label to the front panel or block diagram if automatic Adds a free label to the front panel or block diagram if automatic tool selection is enabled. tool selection is enabled. Scrolls through subdiagrams of a Case, Event, or Stacked Scrolls through subdiagrams of a Case, Event, or Stacked Sequence structure. Sequence structure. Disables preset alignment positions when moving object labels or Disables preset alignment positions when moving object labels or captions. captions.
Enter
Shift-Enter
Debug
CtrlCtrlCtrlSteps into node. Steps over node. Steps out of node.
File Operations
Ctrl-N Ctrl-O Ctrl-W Ctrl-S Ctrl-Shift-S Ctrl-P Ctrl-Q Opens a new, blank VI. Opens an existing VI. Closes the VI. Saves the VI. Saves all open files. Prints the window. Quits LabVIEW.
Basic Editing
Ctrl-Z Ctrl-Shift-Z Ctrl-X Ctrl-C Ctrl-V Undoes last action. Redoes last action. Cuts an object. Copies an object. Pastes an object.
Help
Ctrl-H Ctrl- Shift-L Ctrl- ? or <F1> Displays Context Help window Locks Context Help window. Displays LabVIEW Help.
SubVIs
Double-click subVI Ctrl-doubleclick subVI Drag VI icon to block diagram Shift-drag VI icon to block diagram Ctrl-rightclick block diagram and select VI from palette Displays subVI front panel. Displays subVI block diagram and front panel.
Execution
Ctrl-R Ctrl-. Ctrl-M Ctrl-Run button Runs the VI. Stops the VI, when used while VI is running. Changes to run or edit mode. Recompiles the current VI. Recompiles all VIs in memory. Moves key focus inside an array or cluster, when used while VI is running. Moves key focus outside an array or cluster, when used while VI is running. Navigates the controls or indicators according to tabbing order, when used while VI is running. Navigates backward through the controls or indicators, when used while VI is running.
Places that VI as a subVI on the block diagram with constants wired for controls that have non-default values.
Wiring
Ctrl-B Esc, rightclick, or click terminal Single-click wire Double-click wire Triple-click wire A Double-click (while wiring) Spacebar Shift-click Deletes all broken wires in a VI.
Selects one segment. Selects a branch. Selects entire wire. While wiring, disables automatic wire routing temporarily. Tacks down wire without connecting it. Toggles automatic wiring while moving objects. Undoes last point where you set a wire.
Shift-Enter
Esc Ctrl-Enter
Fonts
Ctrl-= Ctrl-Ctrl-0 Ctrl-1 Ctrl-2 Ctrl-3 Ctrl-4 Increases the current font size. Decreases the current font size. Displays the Font dialog box. Changes to the Application font in Font dialog box. Changes to the System font in the Font dialog box. Changes to the Dialog font in the Font dialog box. Changes to the current font in the Font dialog box.
Ctrl-click input on Switches the two input wires [Switcheroo Function]. function with two inputs Spacebar Switches the direction of a wire between horizontal and vertical.
Programming Made Easy and Fun Author: Jeffrey Travis, Jim Kring
Publisher: Prentice Hall PTR; 3rd ed. (2006) ISBN: 0131856723