LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

save portion of front panal image as png file

Solved!
Go to solution

Hello,

 

I am trying to take a screenshot of a group of about 20 numeric indicators and save the image as a png or jpeg file. I understand you can take a screenshot of the entire front panel and save this as an image, however, I only want a PORTION of the screen.

 

Please help me!

 

Thanks in advance,

Cassidee

0 Kudos
Message 1 of 9
(3,822 Views)

use the code capture tool


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 9
(3,805 Views)

Could you please elaborate? I just downloaded the code capture tool before and I have never used it. For example if I had the attached VI and I wanted to only capture a png image of the left four numeric indicators and not the right four. How would I use the tool to do this?

 

Thank you,

Cassidee

0 Kudos
Message 3 of 9
(3,773 Views)
Solution
Accepted by topic author cassidee21

Hmm,

There seams to be a bug in the CCT....

!0.png

 

These settings (Tools>>LAVA>>Code Capture Tool to get to here) SHOULD work to generate a snip of whatever is selected on the FP.  They do not. 

 Deselecting Snippet generates this:

example_FP.png

Alternately you can resize the FP and use FP Visable to get this

example_FP.png

 

Duly Cross-posted to Lava


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 9
(3,755 Views)

I didn't get to check the specific VI yet, but I should point out that there is a newer version of the CCT around (that UI is sooooo 2008 😉 ), although I wouldn't expect it would make a difference, because I don't think we changed anything in that code.

 

I should also point out that the CCT is open source, so it's possible to simply look inside and see why it's not working, and that it's possible to simply use the print screen button and your favorite editing software (even Paint has become decent after XP) or to use the Get Panel Image method which the CCT uses.


___________________
Try to take over the world!
Message 5 of 9
(3,728 Views)

I haven't pinpointed it exactly, but a quick test seems to indicate that this is something that's changed in LV 2012. If I backsave the VI to 2011 and run the CCT there, it works fine.


___________________
Try to take over the world!
Message 6 of 9
(3,712 Views)

Actually, I just noticed that in 2012 I had an older version of the CCT, so this is probably a bug in the CCT which was fixed in the newer version, so you should update it.


___________________
Try to take over the world!
Message 7 of 9
(3,684 Views)

Updating the CCT resolves the issue! Thanks, Yair.  Consider expanding the Just-in-time help to two lines of text on an Aero theme but, that's pretty nit-picky.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 9
(3,668 Views)

I suggest you add that as a request in the other thread (ideally with an image showing exactly what the problem is), because I have the aero theme enabled and I don't see a problem (other than that some of the text is way too long, but that would probably require making it shorter). Maybe your problem is with DPI settings?


___________________
Try to take over the world!
0 Kudos
Message 9 of 9
(3,660 Views)