07-02-2014 04:20 PM
I am making an application, that is used for distribution, to create a palette. In my VI I take the VIs in a file and create a palette with them using the write palette VI. When I run the VI it works perfectly, but when I build it into a .exe I get the attached error. Is there a way around this?
07-02-2014 04:25 PM
That makes sense that it doesn't work because you aren't running it inside of LabVIEW. Therefore, there is no palette to write to. What you could do is create a *.mnu file and just put it in a location so that LabVIEW will notice it next time it is started.
If LabVIEW is running, you may be able to invoke the paltte write or refresh via VI Server.
07-02-2014 04:33 PM
07-02-2014 04:36 PM
Ok, I will try editing my vi to create a dumby *.mnu file to be called for the write palette.vi.
07-02-2014 04:40 PM
Once the application creates the *.mnu file the palette can be accessed from the block diagram on any VI on that computer.
07-02-2014 04:40 PM
What is it that you are trying to accomplish? What is the point of the operation?
Mike...