LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create a printing window for a graph

I have several graphs displayed on the front panel, is there a way that I can print only the one graph without the background controls etc, i.e. a printing window
0 Kudos
Message 1 of 4
(2,773 Views)
Hello Gorelick,

probably there is more than one way...

My suggestion: create a subVI with only a graph. Call that VI with the data to print (perhaps some additional data for scaling etc...) and print that subVI either with coding or by VI Properties -> Printing -> Automatically print...

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,773 Views)
Assuming that you are on windows, you can do this programmatically by getting a reference to the graph that you want to print, and sending that to a report with Append control image to report. Then you print the report. See the attached image of a block diagram that will do this.
0 Kudos
Message 3 of 4
(2,773 Views)
That is perfect, thanks for the suggestion!!
0 Kudos
Message 4 of 4
(2,773 Views)