09-08-2013 10:00 PM - edited 09-08-2013 10:01 PM
The 'Get Clipboard Image' method fails for images in built executables.
It works for text (you get an image of the text back).
In the runtime environment it works ok.
LabVIEW versions:
Test code:
Regards,
Ton
Solved! Go to Solution.
09-08-2013 11:22 PM
I dont think so, because in LV2011 it works
09-08-2013 11:27 PM
You want to retrive data related to image or image?
09-09-2013 12:19 AM
I want to get the clipboard image. If I run this code in the Development environment I get an image with the latest clipboard info.
If I run it (on the same) PC in an executable I get an image with the latest text data.
Ton
09-09-2013 01:18 AM
I know for sure that it worked in LV 7.0, because I had an executable which copied the image from the clipboard using that method and displayed it in a picture control (in fact, I just dug it up and ran it now with the snippet you posted and it showed it just fine). Maybe it broke at some point along the way. I actually just tested it now in 2011 and it doesn't work there either when I build an EXE.
09-09-2013 01:32 AM
check the RUN time property of all the components
09-09-2013
02:39 AM
- last edited on
05-20-2024
06:24 PM
by
Content Cleaner
Ton,
How about now? I meet the same issue about Clipboard.Get Image node.
Home--colinzhang.net: My Blog
09-09-2013
05:02 PM
- last edited on
05-20-2024
06:30 PM
by
Content Cleaner
The method is not on the 'not supported in thr RTE' list, here's the detail about this method:
The following table lists the characteristics of this method.
Data type | No return value |
Available in Run-Time Engine | Yes (Read/Write) |
Available in Real-Time Operating System | Yes |
Remote access allowed |
Yes |
So I have a feeling that it should work, note that is works if the clipboard has text!
Ton
09-09-2013 10:18 PM
Yes, i feel the same.
Home--colinzhang.net: My Blog
09-09-2013 11:15 PM
Why dont you store the array of pixels values to clipboard and later retrieve this only and show the image to user. This will solve the problem