Jump to content
DanielChile

What is the easiest way to get a screenshot?

Recommended Posts

Hit Prt-Scr. Doesn't get much easier than that. ;)

Share this post


Link to post
Share on other sites

Hit Prt-Scr. Doesn't get much easier than that. ;)

And press "Alt" to get just the active window.

Share this post


Link to post
Share on other sites

If you want to do this programmaticly, then take a look at the NI Web Service Server in the code repository. There is a VI in there that uses .NET calls to do this for you. Feel free to use that in your project. Only works with Windows, however...

Share this post


Link to post
Share on other sites

Here's a code fragment, that gets the frontpanel of a VI. You can save this to a file (PNG, JPG, BMP)

post-8741-125123032537_thumb.png

Jens

Share this post


Link to post
Share on other sites

In LV 7.1 I have an invoke node for the VI called 'Get Panel Image'.

Here's a code fragment, that gets the frontpanel of a VI. You can save this to a file (PNG, JPG, BMP)

post-8741-125123032537_thumb.png

Thanks, Felix and Jens.

Actually, I need to get a full screen image, not only a front panel.

I was thinking of .NET or Activex, but still haven't found the right piece of code.

Regards,

Daniel R.

Share this post


Link to post
Share on other sites

Sorry, everyone, I forgot to mention:

1. Get a screenshot programmatically

2. Working with LV 8.5.1.

Thanks a lot,

Daniel R.

Play around with this. I found it on The Dark Side.

  • Like 1

Share this post


Link to post
Share on other sites

Hit Prt-Scr. Doesn't get much easier than that. ;)

And press "Alt" to get just the active window.

This is my best. :thumbup1:

And Jing do a pretty good job.

If you like trouble you can take a picture with your cell phone and email it for few $$.

Share this post


Link to post
Share on other sites

If you want to do this programmaticly, then take a look at the NI Web Service Server in the code repository. There is a VI in there that uses .NET calls to do this for you. Feel free to use that in your project. Only works with Windows, however...

Thanks, John.

Do you know if I can find this for LV 8.5.1 anywhere?

Regards,

Daniel R.

If you like trouble you can take a picture with your cell phone and email it for few $.

I couldn'd think of that by myself.

Another thing that I could do is take a picture of the screen with my old film camera, develop the film, put it on my scanner and voila!

(just kidding)

Daniel R.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.