Display Message to User Express VI

Owning Palette: Output Express VIs

Requires: Base Development System

Displays a standard dialog box that contains an alert or a message for users.

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs
 Add to the block diagram  Find on the palette

Dialog Box Options

ParameterDescription
Message to DisplayContains the text to display in the dialog box.
Buttons to DisplayContains the following options:
  • First button name—Specifies the text that appears on the first button. By default, the text on the first button is OK.
  • Second button name—Specifies the text that appears on the second button. By default, the text on the second button is Cancel. This option is available only when you place a checkmark in the Display second button checkbox.
  • Display second button—Specifies whether a second button is displayed in the dialog box.

Block Diagram Inputs

ParameterDescription
MessageContains the text to display in the dialog box.
EnableEnables or disables the Express VI. The default is ON or TRUE.
error inDescribes error conditions that occur before this node runs.

Block Diagram Outputs

ParameterDescription
OKReturns TRUE when you click the first button in the dialog box and FALSE when you click the second button.
error outContains error information. This output provides standard error out functionality.

This Express VI operates similarly to the following VIs and functions:

One Button Dialog
Two Button Dialog
Three Button Dialog