Current Publication

Creating Ring Controls

LabWindows/CVI

Create»Ring

A ring control shows the user an option list. A ring control displays only one item at a time from its list of options. To add a ring control to your function panel, select Create»Ring in the Function Panel Editor.

The following items appear in the Create Ring Control dialog box.

  • Control Label—The label that appears above the control on the function panel.
  • Parameter Position—The location of the control value in the function parameter list. For a control in a common control function panel, Parameter Position specifies the control value in the parameter lists of all function panels in a Function Panel window. The first position is 1.

    For a control on a function panel, Parameter Position specifies the control value in the parameter list after the controls in the common control function panel. The first position after the controls in the common control function panel is 1. If there is no common control function panel, the first position is 1.
  • Data Type—The data type of the values in the ring control.
  • Default Value—The default for the ring control. The default must be one of the labels specified in the Edit Label/Value Pairs dialog box.
  • Control Width—The width of the control in pixels. The minimum allowed is 24. The maximum allowed is 2,048. The default control width is 145 pixels.
  • Label/Value Pairs—When you select this button, the Edit Label/Value Pairs dialog box appears.

    Use this dialog box to specify the label and value associated with each entry in the ring control. A ring control can have up to 32,000 labels and associated values.
Note Note  Use this ring control when you create function panels. If you are creating a GUI, refer to the Graphical User Interface topic for information about user interface controls.