08-25-2013 12:15 AM
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.
08-25-2013 01:21 AM
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.
08-25-2013 06:48 PM
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,
08-27-2013 07:45 PM
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.
08-27-2013 08:43 PM
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...
08-28-2013 01:32 AM
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