LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving 2D graph as an image file

I would like to save 2D graph in LabWindows/.CVI as an image file such as bmp and tiff.

Thanks

0 Kudos
Message 1 of 3
(3,264 Views)

You can use the following command sequence:

 

GetCtrlDisplayBitmap ( panel, PANEL_GRAPH, 1, &bitmap_id );
SaveBitmapToPNGFile ( bitmap_id, file_name );
DiscardBitmap ( bitmap_id );

 

Wolfgang

0 Kudos
Message 2 of 3
(3,262 Views)

That will do.

Thank you very much

0 Kudos
Message 3 of 3
(3,255 Views)