09-06-2015 08:27 PM
Is it possible to do a full front-panel screenshot if the front panel has dividers?
I've used http://digital.ni.com/public.nsf/allkb/09FAC3BEE5B9C38B862570EC00698237
and it was fine until I added a fixed divider.
Any help with this please?
09-06-2015 11:56 PM
09-07-2015 10:56 AM
mikeporter a écrit :
So are you needing to do it manually, or programmatically? The document covers both.
Mike...
I guess I should add that I need this functionality during run time, so then programmatically would be preferred (I have a UI button set up with an event structure in a while loop).
I'm trying to make it user-friendly while getting one single screenshot of all plots that would've shown on the screen if the UI wasn't so big and had so many plots. So again, I'm looking for full "screen" (i.e. full front panel, not necessarily what's on the screen/monitor and its respective size).
The problem I ran into is that once I added a divider, the screenshot gets limited to only what's on the screen, not the full front panel.
09-08-2015 10:25 AM
You can probably get a reference to all panes in the VI, then get the image of each pane. Of course you'll have issues when you try to stitch them all togehter since some maybe larger than others.
I think a more robust method would be to create something custom, that maybe is a separate VI that is the display mode, which only shows the indicators you want them to see when showing the data as an image. Like there is no need to show buttons when a screenshot is taken since you can't interact with it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-08-2015 06:28 PM
09-08-2015 07:04 PM