Saving 3D Graph Image Programmatically

Updated Dec 8, 2020

Reported In

Software

  • LabVIEW

Issue Details

I want to output the 3D graph I draw in 3D graph indicator to specific file such as BMP. Is it possible ?

Solution

You can save your 3D graph with several file options. There are two methods (note that you do not have to have Vision software to do what described below).
 

1. Using invode node.

First create reference of 3D graph by right clicking the 3D graph indicator in block diagram. Then connect this reference to reference input of invoke node. Select Image to File option. You can choose file type such as BMP, EPS, EMF or PICT.

2. Using graphic format function.

First create reference of 3D graph by right clicking the 3D graph indicator in block diagram. Then connect this reference to reference input of invoke node. Select Get Picture Control Ref. Then connect the reference to invoke node and select Render to Image. You can connect this output with Graphic format function, for example Write JPEG File.vi.