Current Publication

Creating Input Controls

LabWindows/CVI

Create»Input

An input control accepts a variable name or value entered from the keyboard. To add an input control to your function panel, select Create»Input in the Function Panel Editor.

The following items appear in the Create Input 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 item entered in the input control.
  • Default Value—The default for the input control. The default must be a valid value, a constant name, or any other valid C expression.
  • 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.
Note Note  Use this input 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.