05-25-2009 03:14 PM
Hello!!!
I have a problem...I have in my project a waveform graph that it would be useful to save if the user wants to...How can I save it, by preesing a button, with a determinated name ??? just saving the graph, with maybe a .jpg termination ???
Thanks a lot!!!!!! (if it's possible answer with pics!!!!!!!)
05-26-2009 11:54 AM
If you want to save the waveform as a picture, you must use the information you con find in this link. That's all you need:
http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65A6D8F86256FBF007A1AC1?OpenDocument
Nevertheless, if you want to save the waveform to a file because you need this information later, you can use any of these examples (it's depend on what kind of information you wants to save and what kind of waveform you are generating):
http://decibel.ni.com/content/docs/DOC-4425
http://decibel.ni.com/content/docs/DOC-3720
...or the LabVIEW example you can find in "C:\Program Files\National Instruments\LabVIEW 8.6\examples\Waveform\FileIO.llb\Export Waveforms to Spreadsheet File Example.vi".
Regards,
04-21-2010 07:51 PM
Hi there,
did u manage to save the waveform graph? Im also having the same problem, want the user to be able to save the waveform graph, the examples
you provided Guillermo are labview and not measurement studio example so it doesnt help much 😞
04-23-2010 09:03 AM
Hi there,
You can save Measurement Studio controls to files in many ways. The easiest way I would say is to use ToFile() method.
Here is a code snippet.
waveformGraph1.ToFile("C:\\1.gif", ImageType.Gif, new Size(400, 300));
04-25-2010 10:32 PM