LabWindows/CVI

Content Type
Programming Language
Current manual

Other User Interface Editor Preferences Dialog Box

Other User Interface Editor Preferences

  • Use the Undo Preferences section of the Other User Interface Editor Preferences dialog box to set the number of actions you can undo for each file.

    If you want the undo buffer to empty every time you save a file, select Purge undo actions when saving file.
  • Use the Constant Name Assignment section to set preferences for constant name assignment when you do not assign constant names yourself. Constant names link user GUI objects and your program. The User Interface Editor writes all assigned constant names to a header file corresponding to the .uir file.

    Select Immediately assign constant names for new objects to generate a constant names for each object as you create it. For panels and controls, the generated constant name appears in the Edit dialog box the first time you open it. For menu bars, LabWindows/CVI assigns a constant name only when you exit the Menu Bar Editor. In all cases, you can freely modify the generated constant names.

    NI recommends that you leave the Immediately assign constant names for new objects option selected. This option makes it easier for you to use the other LabWindows/CVI features that have been designed to help you write your program to operate your user interface.

    Notice that when you enable Immediately assign constant names for new objects, Assign constant names from user-defined control labels when possible has no effect. That is because you do not have a chance to customize the control labels before the User Interface Editor generates the constant name. Consequently, the User Interface Editor bases the constant name on the control type.

    If you choose to disable the Immediately assign constant names for new objects option, NI recommends that you enable the Fill in missing constant names when saving option.
Was this information helpful?