One Button Dialog Function

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Owning Palette: Dialog & User Interface VIs and Functions

Requires: Base Development System

Displays a dialog box that contains a message and a single button.

If you want a printf statement to a standard output stream, use the CCG Console Output VI. However, if your target has a user interface and you want a dialog box with a button and a message, use the One Button Dialog function.

message is the text to display in the dialog box. The dialog box expands when you add more text. This function automatically wraps the text based on the size of the dialog box. The dialog box can display as much text as your computer screen can display. If you want a scrollbar to show when the size of the dialog box exceeds your desired size, use the Three Button Dialog VI. With this VI, you can convert a three button dialog box to a one or two button dialog box by wiring an empty string to a button text input to hide that button.
button name is the name displayed in the dialog box button. The default is OK.
true contains a value of TRUE when you click the button.


Not Helpful