ISG line scan Camera: LW-ELIS-1024-1394
CVI V 7.1
Vision V 7.1
NI IMAQ for IEEE 1394 V 2.0
MAX V3.1.1
The frame grabber in MAX works well.
The sample code in cvi doesn't work well. All samples of the folder ...\samples\imaq 1394\samples without IMAQ vision work very well.
All samples of the folder ..\samples\imaq 1394\samples with IMAQ vision\ are not working.
If i add code lines with ImageSize information before starting Grabber(Example below). The Samples works, but only in slow motion nearly 0.5 fps in debug or release mode.
Example:
CVI Sample file and prj: Grab 1394 with imaq Vision.c
int CVICALLBACK Grab (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
{
...
//Additional code start>>>>>>>>>>>>>>>>>>>>
imaq1394SetAttribute (Sid, IMG1394_ATTR_ROI_HEIGHT, 234);
imaq1394SetAttribute (Sid, IMG1394_ATTR_ROI_WIDTH, 512);
sRect.top = 0;
sRect.left = 0;
sRect.height = 234;
sRect.width = 512;
//Additional code stop<<<<<<<<<<<<<<<<<
// Configure and start the acquisiton
tErr = imaq1394SetupGrab (Sid, sRect);
...
}
Playing with several additional other parameters has no success.
Thanks in advance for help.