Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Boolean Properties Dialog Box

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Right-click a Boolean control or indicator and select Properties from the shortcut menu to display this dialog box.

Appearance

Use this tab to specify which elements of the object are visible.

  • Label Visible—Displays the owned label for the object and enables the Label Text text box so you can edit the label. You use the label to identify the object on the front panel and block diagram.
  • Label Text—Text to use for the label.
  • Caption Visible—Displays the caption for the object and enables the Caption Text text box so you can edit the caption. You use the caption to display a detailed description of the object on the front panel. This option is not available for constants.
  • Caption Text—Text to use for the caption. This option is not available for constants.
  • Enabled State—Sets whether the user can operate the object.
    • Enabled—Enables the user to operate the object.
    • Disabled—Displays the object in the front panel window, but the user cannot operate the object.
    • Disabled & grayed—Displays and dims the object in the front panel window, and the user cannot operate the object.
  • Size—Sets the size of the object in pixels.
    • Height—The height of the object in pixels. You cannot set the height of numeric controls.
    • Width—The width of the object in pixels.
  • On—Sets the color of the Boolean object in the TRUE state. You also can use the Colors [4] property to set the color of the Boolean object programmatically.
  • Off—Sets the color of the Boolean object in the FALSE state.
  • Show Boolean text—Displays text on the Boolean object to indicate the state of the object and enables the On text and Off text text boxes so you can edit the text for each state.
  • Lock text in center—Displays the text that indicates the state in the center of the Boolean object. You also can use the Lock Boolean Text in Center property to lock the Boolean text programmatically in the center of the Boolean object.
  • Multiple strings—Allows you to display text for each state of the Boolean object. Remove the checkmark from this checkbox to display only the text in the Off text text box on the Boolean object.
  • On text—Text to display on the Boolean object when its state is TRUE.
  • Off text—Text to display on the Boolean object when its state is FALSE.
  • Text color—Color of the text that indicates the state of the Boolean object.

Operation

Use this tab to change the mechanical action of a Boolean object.

  • Button behavior—Sets the mechanical action of the Boolean object.
  • Behavior Explanation—Describes the selected button behavior.
  • Preview Selected Behavior—Displays a button with the selected behavior so you can test its behavior.
  • LED—Indicates when the preview button has a value of TRUE.

Documentation

Use this tab to describe the purpose of the object and to give users instructions for using the object.

  • Description—Contains a description of the object. Descriptions for controls, indicators, and constants appear in the Context Help window when you move the cursor over the object. You can enter a description for a VI or function located on the Functions palette but you can only view the description in this dialog box. The description will not appear in the Context Help window. You can format the text in the description to appear bold in the Context Help window. If you want to display a carriage return in the Context Help window, you must separate paragraphs with two carriage returns.
  • Tip stripBrief description of the object to display when you move the cursor over an object while a VI runs.

Data Binding

Use this tab to bind front panel objects to network-published project items and to PSP data items on the network.

  • Data Binding Selection—Specifies the server you want to use to bind the object.
    • Unbound—Specifies that the object is not bound to a network-published project item or to an NI Publish-Subscribe-Protocol (PSP) data item on the network.
    • Shared Variable Engine (NI-PSP)(Windows) Binds the object to a network-published project item or to a PSP data item on the network using the Shared Variable Engine.
    • DataSocket—Binds the object to a data item on the network using the DataSocket Server, an OPC server, an FTP server, or a Web server. If you want to establish or save a URL for an object, create a shared variable rather than using front panel DataSocket data binding.
  • Access Type—Specifies the type of access LabVIEW sets for the object you are configuring. You can choose from the following options:
    • Read only—Specifies that the object reads data from a network-published project item or from a PSP data item on the network.
      Note  If you are using a network-published Shared Variable node that is configured to read data, you must run each Shared Variable node before the node subscribes and starts receiving buffered values.
    • Write only—Specifies that the object writes data to a network-published project item or to a PSP data item on the network.
    • Read/Write—Specifies that the object reads data from and writes to a network-published project item or a PSP data item on the network.
  • Path—Specifies the path to the shared variable or data item to which you want to bind the shared variable you are configuring. The path to a shared variable in the active project consists of the computer name as it appears in the project, the name of the library in which the shared variable resides and the shared variable name: computer\library\shared_variable. The path to a shared variable in a separate project or on a separate computer consists of the DNS name or IP address of the computer preceded by \\, the name of the library in which the shared variable resides and the shared variable name: \\computer\library\shared_variable. The path to a shared variable in another project consists of the computer name, the name of the library in which the shared variable resides, and the shared variable name: \\computer\library\shared_variable. The path to an NI-PSP data item consists of the computer name, the name of the process in which the data item resides, and the data item name: \\computer\process\data_item.
  • Browse—Displays a file dialog or the Select Source Item dialog box, from which you can browse to the shared variable or data item to bind the object to. The value you select in the Data Binding Selection field determines which dialog this button launches.

Key Navigation

Use this tab to set keyboard shortcuts for controls.

  • Focus—Assigns a shortcut key to navigate to this control. Valid key names include <Clear>, <Delete>, <End>, <Escape>, <Home>, <Insert>, <Mute>, <PageUp>, <PageDown>, <Play>, <Return>, <VolumeUp>, <VolumeDown>, and function keys <F1> to <F24>.
    Note  Some keyboards and platforms may not support the <Clear>, <End>, <Home>, <Mute>, <PageUp>, <PageDown>, <Play>, <VolumeUp>, <VolumeDown>, and function keys <F13> to <F24>. (Mac OS) Keyboard shortcuts for the function keys work only if the function keys are not assigned as shortcut keys for Exposé.
  • Shift key—Selects the <Shift> key as a modifier key to the key assignment.
  • Control key—Selects the <Ctrl> key as a modifier key to the key assignment.
  • Toggle—Assigns a shortcut key to toggle this control. Valid key names include <Clear>, <Delete>, <End>, <Escape>, <Home>, <Insert>, <Mute>, <PageUp>, <PageDown>, <Play>, <Enter>, <VolumeUp>, <VolumeDown>, and function keys <F1> to <F24>.
    Note  (Mac OS) Keyboard shortcuts for the function keys work only if the function keys are not assigned as shortcut keys for Exposé.
  • Shift key—Selects the <Shift> key as a modifier key to the key assignment.
  • Control key—Selects the <Ctrl> key as a modifier key to the key assignment.
  • Set to focus on toggle—Causes the Toggle key assignment to navigate to this control.
  • Existing Bindings—Lists the key assignments already in use. If you select a key combination already in this listbox, LabVIEW assigns that key combination to the current control and deletes the previous key assignment.
  • Tab Behavior—Controls the behavior of the <Tab> key when you navigate to this control.
  • Skip this control when tabbing—Causes the key focus to skip over this control when you use the <Tab> key.
    Note  LabVIEW skips hidden controls when you tab through a front panel. You do not need to place a checkmark in this checkbox for hidden controls.

Security

Use this tab to configure security for front panel controls and indicators. This tab appears only if you have the LabVIEW DSC Module.

  • Access Control List—Displays the access rights granted to specific users and groups. If a user and a group that the user is a member of both appear in the list, LabVIEW uses the setting granting the greatest level of access.
  • Add—Launches the Add New Host/User dialog box, in which you can select a domain, host, user, and group.
  • Remove–Removes the currently selected user or group from the Access Control List.
  • Access—Specifies the access rights of the user or group selected in the Access Control List.
    • Full Access—The selected user or group can view and interact with the front panel object.
    • Disabled (View Only)—The selected user or group is able to view the object on the front panel but cannot interact with it.
    • Disabled & Grayed Out—The front panel object is grayed out, and the user or group cannot interact with it.
    • No Access (Hidden)—The front panel object does not appear on the front panel.

Resources


 

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