PDA

View Full Version : problem while connecting four camera



shankar_vizitec
September 30, 2008, 13:01:22
in my project, i am using four camera's of same model(dfk21f04). i have 4 separate picture box to display live image of each camera . when i am unplug 3rd camera and then running the same process,fourth camera image appear in 3rd camera's picture box.but it had to display in its corresponding picture box only . so how to solve this issue . kindly reply as soon as possible .
Thank
Regards
shankar

Stefan Geissler
September 30, 2008, 16:09:14
Hi Shankar,

In order to indentify the camera correctly, you should use the "VideoCaptureDeviceItem::getUniqueName()" method. Then you can use the "Grabber::openDevByUniqueName " method to open the correct camera in the assiociated grabber object.

Please refer to
http://www.imagingcontrol.com/en_US/support/documentation/class/meth_descVideoCaptureDeviceItem_getUniqueName.htm

and

http://www.imagingcontrol.com/en_US/support/documentation/class/meth_descGrabber_openDevByUniqueName.htm