Current Publication

Creating Output Controls

LabWindows/CVI

Create»Output

An output control displays the results of a function call. To add an output control to your function panel, select Create»Output in the Function Panel Editor.

The following items appear in the Create Output 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 variable or value displayed in the output control.
  • Default Value—The default value that the control displays. You can leave this item blank.
  • Display Format—The format in which the output control displays values. You can display integers, longs, shorts, and chars in decimal, hexadecimal, octal, or ASCII format. You can display doubles and floats in either scientific or floating-point notation. If the data type is char *, void *, a meta data type, or an array, the display format control is not valid.
  • 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 output 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.