Importing Graphics into Boolean Controls and Indicators
You can use the Control Editor window to import graphics into Boolean controls and indicators to indicate the TRUE, FALSE, and transition states of the control or indicator.
Importing Graphics into a Boolean Control or Indicator with the Control Editor Window in Edit Mode
Complete the following steps to import graphics into a Boolean control or indicator with the Control Editor window in edit mode.
Right-click a front panel Boolean control or indicator you want to customize.
Select Advanced»Customize from the shortcut menu to display the Control Editor window. The Control Editor window opens in edit mode.
Select Edit»Import Picture to Clipboard to display a file dialog box.
Navigate to the graphic you want to import.
Select the graphic and double-click the graphic or click the OK button to place the graphic on the clipboard.
Right-click the Boolean control or indicator, select Import Picture from Clipboard from the shortcut menu, and select among the following items:
False—Applies the imported graphic to the FALSE state of the Boolean control or indicator. The imported graphic appears only when the control or indicator is in the FALSE state.
True—Applies the imported graphic to the TRUE state of the Boolean control or indicator. The imported graphic appears only when the control or indicator is in the TRUE state.
Decal—Applies the imported graphic to all states of the Boolean control or indicator. The graphic remains visible regardless of the state of the Boolean control or indicator.
LabVIEW imports the graphic into the normal state and into the corresponding transition state.
Tip To undo changes to a Boolean control or indicator after you import graphics and save the VI, you can replace the control or indicator with a new version from the palettes. Display the front panel, right-click the Boolean control or indicator, and select Replace from the shortcut menu. Then select the Boolean control or indicator you want to use as a replacement.
Importing Graphics into a Boolean Control or Indicator with the Control Editor Window in Customize Mode
Complete the following steps to import graphics into a Boolean control or indicator with the Control Editor window in customize mode.
Right-click a front panel Boolean control or indicator you want to customize.
Select Advanced»Customize from the shortcut menu to display the Control Editor window.
Click the Change to Customize Mode button to place the Control Editor window in customize mode.
Right-click the Boolean control or indicator, select Picture Item from the shortcut menu, and select among the following items:
The first selection applies the graphic to the FALSE state.
The second selection applies the graphic to the TRUE state.
The third selection applies the graphic to the Switch When Released state, which is the TRUE to FALSE transition state.
The fourth selection applies the graphic to the Latch When Released state, which is the FALSE to TRUE transition state.
Note Some system controls, such as the system button and the system cancel button, offer additional selections that represent additional possible states.
Right-click the Boolean control or indicator and select Import from File from the shortcut menu to display a file dialog box. You also can select Import from File at Same Size from the shortcut menu to import the graphic at the same size as the selected part of the Boolean control or indicator.
Navigate to the graphic you want to import.
Select the graphic and double-click the graphic or click the OK button to replace the selected part of the Boolean control or indicator with the graphic.