ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save Graph to File

Hi guys ,
 
 
    I am developing an application where i get an output graph for running a test over a period of 4 hours. I need to save the graph in a file. I tried to work with excel and word report generation Vis but cannot get the result. Any idea how to save the graph as image in a file ?
 
Bhushan
For Latest TECH News check out my blog at http://directfromdigg.blogspot.com
0 Kudos
Message 1 of 5
(3,429 Views)
I do not have the word/excel report vi. But I do know that in the regular report vi's that there is a vi to take the front panel control and append it to a report. all this vi really does is make a jpg image of the control. you could try this.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 5
(3,422 Views)
I have attached a VI to export the graph to a jpg file.  Instructions inside.

Paul
Message 3 of 5
(3,414 Views)
Are you trying to save the data from the graph to a file or just place an image in a report?  If you are saving the data only you just need to format the data and save it to file usually a tab deliminated format is good since it is easily exchanged with other programs (use a binary format if the data set is vary large).  If you just want to obtain an image of the graph indicator use the  invoke method >> getImage which lets you get a image of the object that you can save as a image file or include it in a report.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 5
(3,411 Views)

Thanks a lot all of you guys. My application is working as i wanted.

I appreciate your help.

For Latest TECH News check out my blog at http://directfromdigg.blogspot.com
0 Kudos
Message 5 of 5
(3,389 Views)