LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save a screenshot while VI is running in LabVIEW 8.5

I am wondering how to save the screenshot of PC while the VI is running in LabVIEW 8.5.1?

 

Thank you.

0 Kudos
Message 1 of 11
(3,931 Views)

How do you do a screenshot when LV isn't running? On my PC I hold down the function key and press the print screen key. This copies the screen so I paste it into paint.

 

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 2 of 11
(3,902 Views)

Use invoke node

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 11
(3,889 Views)

I like using the Snipping Tool built into Windows 7 and later. 

 

http://windows.microsoft.com/en-us/windows7/products/features/snipping-tool

 

A couple things I like, 

 

1. When you make a snip, it automatically puts it in the clipboard so you can quickly paste it into a document

2. If you hit "Cancel" on the current snip process you put it into a kind of "triggered" mode. So, I can put my mouse over a drop down menu or other interactive component in LabVIEW, then press ctrl+PrtScn to call the Snipping Tool to action, and it allows me to snip whatever interactive components were open. For example, here is a snip of a right-click on a control that shows it being highlighted and the right click menu. 

 

Capture.JPG

Tim A.
Message 4 of 11
(3,866 Views)

That is very cool, and much better that takinbg a screen shot of your entire display and needing to edit it down to the part you're interested in. Taking the microsoft video one step further, I created a shortcut to the tool on my desktop...

 

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 11
(3,860 Views)

I do the same, Mike!

 

To add a bit more onto this, here is how I break things down. 

 

1. Snip a specific section(including interacted components): Snipping Tool with "New"

2. Snip a specific section that you have interacted with: Snipping tool in background and calling it with "ctrl+PrtScn"

3. Print a selected window: "alt+PrtScn"

4. Print everything (all monitors with OS display): "PrtScn"

Tim A.
0 Kudos
Message 6 of 11
(3,855 Views)

@timtamslam wrote:

I do the same, Mike!

 

To add a bit more onto this, here is how I break things down. 

 

1. Snip a specific section(including interacted components): Snipping Tool with "New"

2. Snip a specific section that you have interacted with: Snipping tool in background and calling it with "ctrl+PrtScn"

3. Print a selected window: "alt+PrtScn"

4. Print everything (all monitors with OS display): "PrtScn"


it's about time they made the printscreen smarter.  They had more sophisticated snipping in their HTML Help chm editor for ages... You can even capture the mouse cursor in that app!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 11
(3,849 Views)

I saw some people mention about "invoke node", could you provide more detail? Thanks.

0 Kudos
Message 8 of 11
(3,837 Views)

Not sure if this is specifically what they were mentioning but this has some useful information, 

 

https://www.ni.com/docs/en-US/bundle/labview/page/printing-vis-programmatically.html

 

The method I the method they were referring to is Block Diagram: Get Image Scaled or Front Panel: Get Image Scaled.

 

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/properties-and-methods/vi-server/vi-m.html

Tim A.
0 Kudos
Message 9 of 11
(3,835 Views)

Copy the VI into 1 folder and run. The image file will be saved in same file.

 

Hopew this will help

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 10 of 11
(3,813 Views)