02-14-2006 11:04 AM
02-14-2006 11:15 AM
A very similar question was asked and answered here just a few days ago:
http://forums.ni.com/ni/board/message?board.id=170&message.id=166951
Gotta love that "Search" feature,
-D
02-15-2006 04:22 AM
02-15-2006 10:20 AM
In the afore-mentioned post, I described two methods of getting a JPG image of an XY Graph...one method was specific only to Waveform Graphs and XY Graphs (the "Export Image" method), while the other method I described ("Get Image" method and Graphics Formats VIs) will work for any control type. So again I say, use the "Get Image" method to get a flattened image of the Intensity Graph, then use the Graphics Formats VIs to save that flattened image to a JPG file.
Good luck,
-D
02-15-2006 10:31 AM
First,thank you very much.
But the problem is that I don't want to save the background of the graph ( e.g. legend , graph frame)
I want to write to the jpg file only the image within the intensity graph.
Eruvi
02-15-2006 11:00 AM - edited 02-15-2006 11:00 AM
In that case, I would make a copy of the Intensity Graph, and deselect every option under the "Visible Items" right-click menu. At that point, all that should be left would be the gray frame of the Intensity Graph. At this point, you can use the Paintbrush Tool, right-click on the gray border, and choose the 'T' in the color picker to make it transparent. At this point, your Intensity Graph should only show the colored graph region and nothing else. Then you can use the method I described to export the image to disk. I have attached a screenshot of a front panel of a VI with an Intensity Graph with all parts other than the graph region made non-visible.
Hope this helps,
-D
Message Edited by Darren on 02-15-2006 11:00 AM
02-15-2006 11:18 AM
Thank you very very much
It's absolutely heklp me. I'm appreciate your help
Eruvi
10-20-2009 06:07 AM
hi.. mr Darren
i do not think the way you have told will work..
i think it can be done by flattening the image and then write to jpg image method..
can you please post the vi indicating what you actually want to say or do?
10-20-2009 09:34 AM