04-22-2009 05:33 PM
Hi,
Somebody Can help me, I have a code (attached) that takes a screenshoot it works well in Labview but If I made it executable it does not work, I do not why
04-22-2009 05:36 PM
Can you post a PNG file? (Alt-Prt Screen and then Ctrl-V it into Paint, save as a PNG file)
I only have 8.2.1 here.
04-22-2009 05:54 PM
04-22-2009 06:02 PM
Does the error-out tell you anything?
(btw: your sequence structure has no purpose, delete it. Execution order is fully determined by dataflow alone.)
04-22-2009 06:03 PM
smercurio_fc wrote:
How is the VI supposed to work? I don't see a loop (please don't tell me that you're using the continuous run button in the toolbar to run the VI), so I assume it's meant as a single-run app? What doesn't work? Do you get an error? A picture? No picture?
It looks like it is probably called from within an event structure of a toplevel VI. Look at the connector pane.
04-23-2009 08:13 AM
Attached you will find the vi for 8.2.
04-23-2009 08:35 AM
Yes, this is a single-run app. It suppose to take a printscreen when I run the application.
I run the vi in labview and it works good, it takes in an image the screen every time I run the vi.
I build an EXE but it doesn't work, it doesn't capture the image of the screen. There is not errors.
04-23-2009 08:54 AM
You are using unsupported LabVIEW scripting to gain access to the Clipboard.GetImage method. These methods are not guaranteed to work, and National Instruments can't support you with this. There is no real way to determine if this will work in a built executable
You might need to find another way to gain access to the clipboard data, such as Clipboard.Read, and convert the result into an image.
11-03-2011 10:38 AM
Hi!
I'm actually very interested by what you are telling here. I'm developping a VI that create other VIs using the scripting. I've tried to build an .exe but it doesn't work whereas the .vi works perfectly.
Are you telling that the scripting isn't supported on .exe? Are you telling that a VI that uses the scripting Labview library can't be turned into a .exe?
Thank you.
Luc.
11-03-2011 10:50 AM