LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Full Screenshot for Front Panel with Divider(s)?

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?

0 Kudos
Message 1 of 6
(3,540 Views)
So are you needing to do it manually, or programmatically? The document covers both.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,500 Views)

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.

0 Kudos
Message 3 of 6
(3,462 Views)

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.

0 Kudos
Message 4 of 6
(3,421 Views)
If the point is to print out the plots, you could save images of the plots individually using standard names and then have a report template document that dynamically links to images with those names when the document opens. Finally, save the document with a new name and call it done.

I don't know what it would take to do this in Word, but with OpenOffice or LibreOffice, it would be a piece o'cake.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 6
(3,395 Views)
Actually, I was just rethinking my suggestion and you will need to save the document as a PDF to retain the graph images. Depending on the program you use that could be a Save As, Export or Print operation.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(3,384 Views)