Skip to content
Tutorials Center
My learning

Topics

Lesson 5 of 36 ยท Environment and VIs

Palettes, Tools and Shortcuts

Master the Controls, Functions and Tools palettes, Quick Drop, automatic tool selection and the keyboard shortcuts that make LabVIEW editing fast.

LabVIEW editing is mostly pointing, dropping and wiring. Knowing where things live, and the shortcuts that skip the menus, can double your speed. This lesson describes the real editor in words, so there are no screenshots; the JavaScript stand-ins at the end model a shortcut finder and a Quick Drop search, and are not LabVIEW.

The three palettes

Controls palette (front panel, right-click): everything you can place on a panel. Main groups are Modern, System, Classic, Express and Silver. Each group has subpalettes such as Numeric, Boolean, String & Path, Array/Matrix/Cluster, List/Table/Tree, Graph, and Ring & Enum.

Functions palette (block diagram, right-click): everything you can put on a diagram. Key groups:

  • Programming: Structures, Array, Cluster/Class/Variant, Numeric, Boolean, String, Comparison, Timing, Dialog & User Interface, File I/O, Synchronization.
  • Measurement I/O: DAQmx and related drivers.
  • Instrument I/O: VISA, serial, GPIB.
  • Mathematics and Signal Processing.
  • Connectivity, Data Communication, Control and Simulation, depending on installed modules.

Tools palette (View > Tools Palette, or Shift+right-click): the mouse tools.

Pinning and searching

At the top of a palette a pin keeps it open. Without pinning it closes after a click. Use the search button (magnifying glass) to type a name such as "bundle" or "build array". Search results show the path to the item in the palette tree, which also teaches you where things live.

You can switch a palette's look: Customize > Change Visible Palettes lets you pick Category or Icons and Text. Text view is easier while learning.

The Tools palette

Common tools:

Tool Purpose
Operate Value Change a control's value while running or editing
Position/Size/Select Select, move and resize objects
Edit Text Type labels and captions
Connect Wire Wire terminals
Object Shortcut Menu Right-click without a mouse button
Scroll Window Pan the window
Breakpoint Pause execution at a wire or node
Probe Data Show the value on a wire
Get Color / Set Color Copy and apply colors

Automatic Tool Selection is a button at the top of the palette. When on, the tool changes by itself depending on what is under the cursor: a wiring tool at a terminal, a text tool on a label, an arrow on an object. Keep it on. Press Tab to switch tools manually, or Shift+Tab to turn automatic selection back on.

Quick Drop

Ctrl+Space opens Quick Drop. Type part of a name, for example Build Array, select the match, and press Enter. The item attaches to your cursor and you click to place it. Quick Drop also works on the front panel and for controls.

You can also assign shortcuts in Quick Drop: select an item and use the Quick Drop options to bind keys. A typical setup: type ba for Build Array, idx for Index Array. Quick Drop shortcuts can also run plug-ins that move or align objects, such as inserting a While Loop around a selection. A very popular one is the Ctrl+Space then Ctrl+D plugin set that drops and wires a node in one go. Whether these are installed depends on your version, so check your Quick Drop help.

Keyboard shortcuts worth learning

Shortcut Action
Ctrl+E Toggle front panel and block diagram
Ctrl+H Context Help
Ctrl+R Run the VI
Ctrl+. Abort
Ctrl+S Save
Ctrl+Z / Ctrl+Y Undo / Redo
Ctrl+B Remove broken wires
Ctrl+L Error list
Ctrl+U Clean up diagram (version-dependent)
Ctrl+Shift+C Create a subVI from selection (check your version)
Ctrl+drag Duplicate an object
Ctrl+Shift+drag Pan, or reorganize (varies)
Ctrl+click on a wire Select the wire segment, shown in dotted form

Shortcuts differ a little by version and platform, and some are user-configurable under Tools > Options > Menu Shortcuts. If one does not work, look it up through the menu entry, which displays the current key.

Three palettes

Controls Right-click on panel
Functions Right-click on diagram
Tools Shift+right-click
1 / 2

Selecting, aligning and cleaning

  • Drag a rectangle with the arrow tool to select a group.
  • The toolbar has Align Objects, Distribute Objects, and Resize Objects. On the block diagram, align terminals so wires run straight.
  • Clean Up Diagram can reroute wires automatically. It is useful on small VIs and risky on big ones because it may shuffle objects you laid out on purpose.
  • Group (Ctrl+G in the front panel) and Lock let you protect arranged layouts.

This stand-in is a toy fuzzy finder over a list of function names. It shows why typing a few letters is faster than hunting through palettes. It is not NI code.

JS Stand-in: Quick Drop-style search

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The next stand-in is a shortcut lookup you can extend with your own favorites.

JS Stand-in: shortcut cheat sheet

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Where do you right-click to open the Functions palette?

    The Functions palette belongs to the block diagram; the Controls palette belongs to the front panel.
  2. 2. What does Quick Drop open with?

    Ctrl+Space opens Quick Drop, a searchable way to place objects.
  3. 3. What does Automatic Tool Selection do?

    With it enabled, the cursor becomes the wire tool, text tool or arrow as needed.
  4. 4. Which tool shows the value on a wire while the VI runs?

    The Probe tool displays wire values for debugging.

Summary

  • Controls palette is for the front panel, Functions palette for the diagram, Tools palette for mouse tools.
  • Pin and search palettes; use text view while learning.
  • Keep Automatic Tool Selection on; press Tab to override it.
  • Quick Drop (Ctrl+Space) and a few shortcuts replace most palette hunting.
  • Use alignment tools and clean up carefully on big diagrams.

Next: Connector Pane and SubVIs