Error -4406 in LabVIEW Executable Using Palette API

Updated Sep 2, 2024

Reported In

Software

  • LabVIEW

Issue Details

  • I am using the LabVIEW Palette API to programmatically create or update a palette item. This works fine in the development environment, but when I build an executable, I receive error -4406. Why does this happen?
  • When using the Read Palette or Write Palette VIs in an executable, I receive the below error. What causes this?

Error -4406 occurred at <VI name>
Possible reason(s):
LabVIEW: (<Hex number>) A VI item in the palette data array is not supported in this version of LabVIEW. 


Error 4406.PNG

Solution

This error occurs because the Palette API is not supported in the LabVIEW Run Time Engine (RTE).
If you need to programmatically create or modify the LabVIEW palettes, you must do so from the LabVIEW Development Environment.