Write Palette VI
- Updated2025-07-30
- 7 minute(s) read
Writes palette data to a palette file (.mnu).

Inputs/Outputs
application reference
—
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
—
palette path is the path, including the filename, of the palette file (.mnu). The filename must have a.mnu extension.
palette type
—
palette type determines whether the palette file (.mnu) contains data for the Controls palette or Functions palette.
palette data
—
palette data contains the data this VI writes to the palette file (.mnu).
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
error out
—
error out contains error information. This output provides standard error out functionality. |
If you have not customized the data in the palette file, use the Read Palette VI to extract data to the palette file. After you edit the palette data, use the Refresh Palettes method to update the palettes programmatically.
application reference
—
palette path
—
palette type
—
palette data
—
display name
—
view format
—
palette width
—
items
—
use default lvlib palette
—
256 color icon
—
error in (no error)
—
error out
—