Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Importing Graphics into Boolean Controls and Indicators

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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.

  1. Right-click a front panel Boolean control or indicator you want to customize.
  2. Select Advanced»Customize from the shortcut menu to display the Control Editor window. The Control Editor window opens in edit mode.
  3. Select Edit»Import Picture to Clipboard to display a file dialog box.
  4. Navigate to the graphic you want to import.
  5. Select the graphic and double-click the graphic or click the OK button to place the graphic on the clipboard.
  6. 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.

  1. Right-click a front panel Boolean control or indicator you want to customize.
  2. Select Advanced»Customize from the shortcut menu to display the Control Editor window.
  3. Click the Change to Customize Mode button to place the Control Editor window in customize mode.
  4. 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 Note  Some system controls, such as the system button and the system cancel button, offer additional selections that represent additional possible states.
  1. 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.
  2. Navigate to the graphic you want to import.
  3. 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.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit