06-14-2011 10:24 AM
I have an XY graph in my control panel which has some other controls within its bounds, and I want the program to export an image of the graph, including the controls.
My front panel looks like this:
And I want my export to look like the following when I push the "Screenshot" button:
When I use the waveform's Get Image method, it excludes the other controls:
I thought I would try using an invoke node on the VI's front panel (as described here), and then take a subset of that image using the graph's position/bounds, but the origin of the screenshot depends on how the user has scrolled or resized the window, so that's unreliable. I'm looking for a way to do this that doesn't involve fixing the window size and position.
Any ideas?
Solved! Go to Solution.
06-14-2011 12:29 PM
Try this.
06-14-2011 02:34 PM
That works great! Sleek too; I thought I was going to have to resort to something hacky. Thanks!
06-16-2011 02:41 PM
Oops. That original will only work correctly if the control is in the first pane.
Here's the fixed version.
06-17-2011 02:23 AM
@paul_a_cardinale wrote:
Oops. That original will only work correctly if the control is in the first pane.
Here's the fixed version.
Hello pcardinale
Could you please post a PNG image of the VI or LV2009 version of the VI because i have LV2009 I was not able to open the VI.
Thanks
Kamal Daniel
06-17-2011 02:12 PM
Here it is.