LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I copy picture from *.exe program in Labview.

I have a problem when I put the program into *.exe executable programs, the picture will not be copied out, please tell me how to set.

0 Kudos
Message 1 of 6
(2,477 Views)

Your description is not sufficient to troubleshoot the problem.

 

What does your program do? What picture? What is "copied out"? Can you show us your program or describe it in much more detail what you are doing?

 

Thanks.

 

0 Kudos
Message 2 of 6
(2,467 Views)

Are you using the Clipboard.Get Image Invoke node discussed here? https://decibel.ni.com/content/docs/DOC-19720

Help for the function found here: http://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/app_clipboard_get_image/

 

If so, it doesn't work in the runtime engine. You can use a .NET function instead: https://decibel.ni.com/content/docs/DOC-28436

 

Regards,

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 3 of 6
(2,434 Views)

Thank you for your help.I make a Labview program,I transform the program into *.exe program.But when it became *.exe program,I can not copy the simplified diagram of XY graph.I do not know how to set the program.My English is not well,I am so sorry to you.

0 Kudos
Message 4 of 6
(2,398 Views)

It sounds like you want to save the image of a XY graph. There is a VI server control method that lets you save the image to a BMP or PNG file. There have been many examples given on the forum over the years. There may also be an example that ships with LV.

 

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 5 of 6
(2,392 Views)

The VI and .exe have slightly different paths, it's common to generate a filename that's invalid in one instance.
When compiled, the exe works like a folder, so if generating a path you'll need to adjust the path generated.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 6
(2,373 Views)