Front Panel
Press the
To create more space, hold down the
Drop and Resize: When you place a new control/indicator on the front panel, keep the mouse button pressed down and you can resize it. (Hold the
Even after you have placed a new control/indicator on the front panel, to keep an object proportional to its original size as you resize it, press the
To restrict an objects direction of movement horizontally or vertically, press the
When entering text into a label or string, use the
Pressing
You can increment/decrement a number by highlighting it and using the up and down arrow keys. This is especially useful when you create a Constant on the back panel and need to change it to a low number and don’t want to have to toggle back and forth between tools.
Block Diagram
With positioning tool:
- Single click on a wire: Highlights just that wire section
- Double click on a wire: Highlights wire up to a junction
- Triple click on a wire: Highlights the whole wire
- Double click on a front panel object to be taken to its front panel location.
Wire-Swapping Tool: If you have a node with two wire terminals, if you press down the
When you are moving or wiring to the edge of the screen, you can press the
When copying Property Nodes or Local Variables, use the positioning tool and press the
Use the “Small Fonts” font when labeling your icons. (Double click on the “A” to get the font selection box.)
You can drag any picture up to the icon area and use that picture as your VI’s icon.
Options…/LabVIEW ini file
Hide the extra LabVIEW window in windows taskbar with hideRootWindow=True in INI file.
ShowInplaceMenuItem=true. Set to True to add "Show Inplace Set" to the popup menu you get when you right-click on a diagram terminal. The option will be grayed-out until you run your VI (it complies). Selecting this menu item makes the terminal, and all other terminals sharing the same data inplace, blink together. Pop up again and select "Hide Inplace Set" before moving to another set of terminals, since it won't automatically stop blinking the first set before showing a new one.
When creating an executable file, if you want to transfer options that have been set up in LabVIEW, copy the LabVIEW.ini file, rename it to
Miscellaneous
Endless Loop/Can’t stop LabVIEW
Can’t stop program to edit. Open and break a Sub VI (broken arrow) OR open a new VI and place the main VI on the block diagram (Select a VI…) as a Sub VI. Double-click it to open and it shouldn’t be running.
Need to debug/probe but can’t get to the back diagram since VI is already running. From the diagram of another VI, use the Find dialog and search for some text that you know is on the block diagram.
To create a smaller icon, make sure that all three areas (B&W, 16 color and 256 color) in the icon editor have your small icon. The actual icon border conforms to the largest of the three icon drawing areas.
Quit LabVIEW when executable; don’t quit when in development. There is a property under the VI Server class Application labeled “Kind”. One of the options is “Run Time System”. Put the “Quit LabVIEW” primitive in a case structure for “Run Time System”. Label the other case “Default”.
0 comments:
Post a Comment