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
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"