I have one LV VI and There is a Waveform chart and I want to make hardcopy of this chart after analyzing the acquire signal. I want to insert this hardcopy waveform chart into MS word. How can I do that. Thanks. Saw
There's lots of ways to do this. You can programatically have LabVIEW save the front panel to a .jpg file, or if you're using windows, hit the CTL-Print Screen buttons. This will save the copy the screen into the clipboard. Open Word, and do a paste into the document. This won't save it to a .jpg, but you can open a graphics editor, do a paste, and save it to a .jpg file, too.
1. create the "invoke node" of your waveform (right-click on the element and select "create->invoke node" from menu).
2.Then choose "Get Image" method. Set the image depth and background color of the image and save it to the file using "Functions->Gaphics & Sound->Graphics formats->Write to JPG file.vi"
My question is: how can I optimize the write to file operation, that is I need something to control file destination name in order to avoid that puictures are overwritten when I press again the enable button. I am asking something similar to what is present in Write LabVIEW Measurement File, option "Use next available file name"
the easiesrt way to do that ids to use the report VI's built into labview and use the append front panel image to report VI. I have an example but am not able to get to them right now to show you how it is done. I will get back to you and show you how.
Hi Giulia, I'm not sure that I've got the problem. I use LV6i so I don't have Write LabVIEW Measurement File.vi and I don't know its options. I changed my example in order to make savings automatically to files located in "Destination directory" with names looking like "pic000#.jpg". Here # is 1, 2, 3, .... Hope this is what you need. Don't forget to specify "Destination directory" in correspondin control before you start to save files.
Sorry about leaving out the VI. Here it is so that you can see how it is used. you can modify these VI's to suite your needs if you want to. If you have any questions feel free to ask