LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I take a Screenshot programmatically?

How can I take a screenshot programmatically?  I am using Labview 7.1.
 
Thanks, Marty
0 Kudos
Message 1 of 11
(14,321 Views)
I am looking to get a screenshot of the entire desktop, which will have multiple open windows, to use in a report.  I need a function that performs a "Print Screen" and saves the image.
0 Kudos
Message 3 of 11
(14,303 Views)

Well, a simple search would bring you here.

As for the image, use the advanced search to search the posts of rolfk. One of them should have some VIs for copying images from the clipboard.


___________________
Try to take over the world!
Message 4 of 11
(14,297 Views)
Thanks!
0 Kudos
Message 5 of 11
(14,289 Views)
I have been able to take a screenshot and put it on the Windows clipboard, but I'm stuck there.  What I'm trying to accomplish is take a screenshot and save it to a file, preferably Microsoft Word.  Is there a way to copy the screenshot off the clipboard and into a file, or to skip the clipboard and take a screenshot directly to a file?
Thanks, Marty
0 Kudos
Message 6 of 11
(14,223 Views)
Did you find Rolf's VIs?
They should allow you to get the image that's inside the clipboard in the LV picture format. Once you have that, you can use the picture VIs (located in the Graphics & Sound palette, unless you have LV base) to save it to a BMP, JPG, or PNG file.
 
You can even use ActiveX to place the image file into a Word document, but that's a lot more complicated. You can try looking at the ActiveX examples to see how it works.

___________________
Try to take over the world!
Message 7 of 11
(14,212 Views)
Got it!  Thanks.
0 Kudos
Message 8 of 11
(14,186 Views)

Why are you digging up 7 and 8 year old threads to put links into them?

0 Kudos
Message 10 of 11
(8,239 Views)