LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manual Save, Programmatic Save, and Save Entire Tab

There’s quite a few nice features native to LabVIEW that makes image capturing easy and convenient. In this post I want to focus on Manual Save, Programmatic Save, and Save Entire Tab.  

 

Manual Save
You can manually right-click any graph or plot during runtime and select Export > Export Simplified Image.  Choose a name for your *.bmp image and directory and save an exact image of the graph to disk. 

 

 

 

 

 

Programmatic Graph Save
This save feature is also available programmatically through LabVIEW methods.  When not running, right-click on the graph you’d like to save during runtime and create a reference.  Find and select the graph method “Export Image”.  Wire the ‘Image Data’ output from the node into one of the image write VIs found in the ‘Graphics and Sound’ > ‘Graphics Formats’ palette.  Make sure to append the correct file extension to your path. 

 

 

 

 

 

Save Entire Tab
Often the graph doesn’t contain all necessary information such as user parameters governing the process.  If these setting are available near the graph on a tab control, you can take a screenshot of the open tab and save it to disk.  The method is very similar to the single graph save, but simpler since the graph colors don’t need to be altered.

 

 

  

Here you can see the image “graph1 – 11Oct27.bmp” as produced by the above code.  Notice the angle cluster and graph title is also captured, giving more context to the displayed data.

 

 

 

Hopefully you will find these methods useful and easy to implement.  I go into a bit more detail in my blog should you find it helpful:

 

http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/969/Programmatic-Saves-of-LabVIEW-Plot...

Message 1 of 2
(4,064 Views)

The only problem is that you posted to the idea exchange, whereas this is not an idea. I'll ask a moderator to move it.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(4,054 Views)