09-27-2005 06:37 AM
// get the frame
imgGrab (Sid, &ImaqBuffer, TRUE);
// display it using imgPlot
imgPlot ((GUIHNDL)ImaqSmplHwnd, ImaqBuffer, 0, 0, AcqWinWidth, AcqWinHeight,
CanvasLeft, CanvasTop, plotFlag);imaqBuffer ist the buffer for storing image data, which was declared as follows:
static
char *ImaqBuffer=NULL; // acquisiton bufferHow can i get the image data from "ImaqBuffer"? (how to get the buffer size?)
thx a lot!
scott
09-29-2005 04:55 AM
Hi Scott, wit installing NI-IMAQ you will get examples. You can find them in C:\Programme\National Instruments\NI-IMAQ\Sample\MSVC\Grab I think they will answer your question.
Thanks, Rebecca
NI, Germany Applications Engineer