07-27-2009 03:52 AM
Hello,
i have a problem with the function .
I snap a image with the sequenz
***
VIImagePointer = imaqCreateImage (IMAQ_IMAGE_RGB, 0);
imaq1394SetAttribute (Session_Id_cam0, IMG1394_ATTR_VIDEO_FORMAT, 7);
imaq1394SetAttribute (Session_Id_cam0, IMG1394_ATTR_VIDEO_MODE, 1);
imaq1394SetAttribute (Session_Id_cam0, IMG1394_ATTR_SHUTTER, Shutter);
imaq1394SnapImage (Session_Id_cam0, VIImagePointer, IMAQ_NO_RECT);
***
but i the image switch to the format "IMAQ_IMAGE_U8" and is a monocrom.
Can somebody help me?
best regards
wolf4124
07-28-2009 07:21 AM
Hi wolf4124,
when you use MAX (Measurement and Automation Explorer) to configure your aquisition, you have to save the configuration, otherwise it will get lost when restarting the device.
If you want to change the configuration programmatically (which seems to be the case), in most of the cases (depending on the camera you're using) you also have to wire the 12pin Hirose connector, as the configuration is done by the serial interface that's part of this connector.
Regards,
Bernd