LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Take screenshot of part of front panel

Solved!
Go to solution

Hi,

There are a table, a chart and some text box on my front panel,

I can save a picture(.JPEG) of complete front panel by the code as attached,

Is there anyway to take just certain part of the front panel?

It would be kind if there is an example to learn.

Thanks a lot!  

0 Kudos
Message 1 of 4
(3,354 Views)
Solution
Accepted by topic author IanYuan

You have image data there.  You could turn that into a 2-D array you could take a subset of, assuming you know the pixels you want to keep.

 

Also look at the code capture tool.  It installs a palette of VI's you can use to do some screen captures.

Message 2 of 4
(3,330 Views)

RavensFan:

It helps a lot, thank you so much!

 

0 Kudos
Message 3 of 4
(3,298 Views)

Another option might be to create a subVI with only the indicators you want shown. Wire the data to that subVI in parallel with the main front panel. Make sure that the front panel of the subVI is open because LV may not draw the indicators if it is closed. It can be positioned off screen but must be open.  Then grab the image of the subVI panel. No image manipulation required. The disadvantage is that the data will be duplicated for the extra displays.

 

Lynn

Message 4 of 4
(3,254 Views)