Read Palette VI
- Updated2025-01-28
- 7 minute(s) read
Read Palette VI
Extracts data from a palette file (.mnu).
Use the Write Palette VI to write data to the palette file. After you edit the palette data, use the Refresh Palettes method to update the palettes programmatically.

Inputs/Outputs
![]() application reference is a reference to a target. The default is the local computer. If the target is not the local computer, you must wire the application reference input to edit the Controls and Functions palette set. Create a project with the target you want to reference. Use the Project:Projects[] property to obtain the target reference from the project. When you have the target reference, use the Application property to obtain the application reference. ![]() palette path is the path, including the filename, of the palette file (.mnu). The filename must have a.mnu extension. ![]() palette type determines whether the palette file (.mnu) contains data for the Controls palette or Functions palette.
![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() duplicate palette path is the path of the palette file (.mnu) from which the VI reads data. ![]() palette data contains the data the VI reads from the palette file (.mnu).
![]() error out contains error information. This output provides standard error out functionality. |
If you read from a palette set for a specific target without wiring the correct reference to the target using the application reference input, the paths the VI returns might be incorrect.
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Application Control\Palette Editing API\Palette Editing API.lvproj