LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

saving bitmaps from graph control

I have a graph which plots data in a LabWindows/CVI program. I would like
to be able
to save a "snapshot" of the graph to my harddrive at any given time. I have
setup
a callback which does the "GetCtrlDisplayBitmap" function and takes the snapshot,
but I don't know how to then save this particular
snapshot as an image file for future reference. Any advice?
Thanks in advance
0 Kudos
Message 1 of 2
(3,108 Views)
This FP for CVI 5.5 will save it to a compressed PNG file:
http://sung3.ifsi.rm.cnr.it/~dargaud/Hack/LabWindows.html#Png

> I have a graph which plots data in a LabWindows/CVI program. I would like
> to be able
> to save a "snapshot" of the graph to my harddrive at any given time. I
have
> setup
> a callback which does the "GetCtrlDisplayBitmap" function and takes the
snapshot,
> but I don't know how to then save this particular
> snapshot as an image file for future reference. Any advice?
-----------
Guillaume Dargaud
CNR/IFA
http://sung3.ifsi.rm.cnr.it/~dargaud/
http://sung3.ifsi.rm.cnr.it/~domec/
http://sung3.ifsi.rm.cnr.it/~chooyu/
http://sodaracq.ifa.rm.cnr.it/
http://radarpct.ifa.rm.cnr.it/
"Real programmers use: COPY CON PROGRAM.EXE"
0 Kudos
Message 2 of 2
(3,108 Views)