LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the write palette.vi in an application when it is not supported by run time engine

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?

0 Kudos
Message 1 of 26
(3,321 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 26
(3,313 Views)
What is the point of creating a palette when you have no block diagram or any way to modify the code?
0 Kudos
Message 3 of 26
(3,300 Views)

Ok, I will try editing my vi to create a dumby *.mnu file to be called for the write palette.vi.

0 Kudos
Message 4 of 26
(3,293 Views)

Once the application creates the *.mnu file the palette can be accessed from the block diagram on any VI on that computer.

0 Kudos
Message 5 of 26
(3,286 Views)

What is it that you are trying to accomplish? What is the point of the operation?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 26
(3,285 Views)