Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Display Message to User Express VI

LabVIEW 2009 Help

Edition Date: June 2009

Part Number: 371361F-01

»View Product Info

Owning Palette: Output Express VIs

Requires: Base Package

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

Example

Dialog Box Options
Block Diagram Inputs
Block Diagram Outputs

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 on 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 in (no error)Describes 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

Example

Refer to the Moonlanding VI in the labview\examples\express directory for an example of using the Display Message to User VI.


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit