Owning Palette: Programming VIs and Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Dialog & User Interface VIs and functions to create dialog boxes to prompt users with instructions.
Palette Object | Description |
---|---|
Clear Errors | Resets the error status to no error, code to 0, and source to an empty string. Use this VI when you want to ignore an error. By default, this VI ignores all errors. Wire an error code value to specific error code to clear if you only want to ignore a specific error. |
Color Box Constant | Use the color box constant to supply a constant color value to the block diagram. |
Display Message to User | Displays a standard dialog box that contains an alert or a message for users. |
Error Cluster Constant | Use the error cluster constant to pass an error cluster value to the block diagram. Set this value by clicking inside the constant with the Operating tool and specifying values for the status, code, and source elements. |
Error Cluster From Error Code | Converts an error or warning code to an error cluster. This VI is useful when you receive a return value from a shared library call or when you return user-defined error codes.
Passing error code 0 means that no error occurred and the VI does not modify the error cluster. |
Error Ring | Use the Error Ring to quickly select and pass NI or custom error codes throughout your VI. |
Find First Error | Tests the error status of one or more low-level functions or subVIs that produce a numeric error code as output. |
General Error Handler | Indicates whether an error occurred. If an error occurred, this VI returns a description of the error and optionally displays a dialog box. |
Generate Front Panel Activity | Programmatically generates front panel activity so any VI execution halted by the Wait on Front Panel Activity function continues executing. No actual changes occur on the front panel. |
Listbox Symbol Ring Constant | Use the listbox symbol ring constant to assign symbols to items in a listbox control. |
Merge Errors | Merges error I/O clusters from different VIs and functions. |
One Button Dialog | Displays a dialog box that contains a message and a single button. |
Prompt User for Input | Displays a standard dialog box that prompts users to enter information, such as a user name and password. |
Simple Error Handler | Indicates whether an error occurred. If an error occurred, this VI returns a description of the error and optionally displays a dialog box. |
Three Button Dialog | Displays a dialog box that contains a message and three buttons. |
Two Button Dialog | Displays a dialog box that contains a message and two buttons. |
Wait For Front Panel Activity | Pauses the execution of the calling VI block diagram in run mode until the function detects front panel activity in the front panel you want to monitor. |
Write to System Log | Writes a message to the nierrlog system log for storage and subsequent viewing.
|
Subpalette | Description |
---|---|
Cursor VIs | Use the Cursor VIs to change the appearance of the cursor on the front panel of a VI. For example, if the VI is acquiring or analyzing data and can accept no user input, you might want to change the cursor to an hourglass or watch cursor. After the VI finishes acquiring or analyzing data and can accept user input, you can change the cursor back to the default cursor. |
Events Functions | Use the Events functions to register events dynamically and to create user events. |
Help VI and Functions | Use the Help VI and functions to link from VIs to HTML files or compiled help files. |
Menu Functions | Use the Menu functions to modify the menus in LabVIEW applications. Use the functions located on the top row of the palette to handle menu selections. |
Multiple Errors VIs | Use the Multiple Errors VIs to convert an error cluster into different formats or to manipulate the attributes of an error cluster. |