Jump to content

Icon Editor

From LabVIEW Wiki
Revision as of 21:19, 4 June 2020 by Q (talk | contribs) (Adding tool definitions)
Icon Editor

The Icon Editor dialog box is a built-in tool in the LabVIEW IDE to help create custom icons for VIs. The VI Icon is an important documentation tool because it controls the appearance of the VI as a SubVI on the Block Diagram. In LabVIEW 2009 the Icon Editor was completely redone. This page is for the Icon Editor for LabVIEW 2009 and later. For the Icon Editor before LabVIEW 2009 see the page Icon Editor (LabVIEW 8.6 and Earlier).

Accessing the Icon Editor

To access the Icon Editor do one of the following: From the Block Diagram, Front Panel, or Control Editor windows:

  • Double-click on the Icon
  • Right-click on the Icon and select, Edit Icon...
  • Select File»VI Properties or File»Control Properties to display the VI Properties dialog box or Control Properties dialog box, respectively. Then select General from the Category pull-down menu and click the Edit Icon button.
  • Right-click a project library, statechart, class, or XControl item in the Project Explorer window and select Properties from the shortcut menu to display the corresponding Properties dialog box. Then click the Edit button on the General Settings page.

Editing Tools

The editing tools are the set of buttons right of the Icon Edit Area. The tools consist of the following:

Symbol Tool Name Actions
Single Click Double Click Left-Click in Edit Area Right-Click in Edit Area
Pencil Tool Selects Tool Nothing Draws individual pixels with the Line Color (or if starting pixel is the Line Color toggles to using the Fill Color) Draws individual pixels with the Fill Color (or if starting pixel is the Fill Color toggles to using the Line Color)
Line Tool Selects Tool Nothing Draws line by with Line Color Draws line by with Fill Color
Dropper Tool Selects Tool Nothing Selects the color clicked on as the Line Color Selects the color clicked on as the Fill Color
Fill Tool Selects Tool Nothing Fills all connected pixels of the Line Color Fills all connected pixels of the Fill Color
Rectangle Tool Selects Tool Adds a one-pixel border to the entire icon in the Line Color Draws a rectangle with the Line Color Draws a rectangle with the Fill Color
Filled Rectangle Tool Selects Tool Adds a one-pixel border to the entire icon in the Line Color and fills the icon in the Fill Color Draws a rectangle with the Line Color as the border filled in with the Fill Color Draws a rectangle with the Fill Color as the border filled in with the Line Color
Ellipse Tool Selects Tool Nothing Draws an ellipse with the Line Color Draws an ellipse with the Fill Color
Filled Ellipse Tool Selects Tool Nothing Draws an ellipse with the Line Color as the border filled in with the Fill Color Draws an ellipse with the Fill Color as the border filled in with the Line Color
Eraser Tool Selects Tool Nothing Draws individual pixels as transparent Draws individual pixels as transparent

'

Templates

Icon Text

Glyphs

Layers

Icon Editor Properties

Best Practices

History

Version Change(s)
LabVIEW 2012 In LabVIEW 2012 the Icon API is released as Object-Oriented Classes. It allows for scripting Icons with access to Text, Glyph, and user layers.
LabVIEW 2011 In LabVIEW 2009 the Icon Editor was completely redone to allow different layers in an Icon with tabs for Templates, Icon Text, and Glyphs. See the page Icon Editor (LabVIEW 8.6 and Earlier) for the editor for LabVIEW 8.6 and earlier.

See also

External links