Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Camera Configuration

I am using 3 Prosilica GC-750 GigE cameras to scan a conveyor line, CAM0 for the left side, CAM1 for the center and CAM2 for the right side.  Since the VI identifies the cameras as CAM0, CAM1 and CAM2, how do a ensure that the correct camera is viewing the assigned portion of the conveyor?  It would seem that since all 3 cameras are powered simultaneously, the first seen by the system would be assigned as CAM0, which may be in the wrong location.  So, I am trying to ensure that the same camera is always in the same place.  Is there a method which may check another camera parameter to assign location?
Thanks for the help,
Doug Dunlap
0 Kudos
Message 1 of 3
(3,466 Views)
Hi Doug,
 
Once the cameras have been seen by the system once, they will continue coming up with the same names (cam0, etc) regardless of the order they get enumerated on the system. The association is made by the camera's serial number and is recorded in the *.iid interface files that point to each camera's configuration file (usually here: C:\Documents and Settings\All Users\Documents\National Instruments\NI-IMAQdx\Data). You can also rename these files to something other than camN and then use those new names to reference the cameras. The only time you will see the default names get "recycled" is if you plug a new camera in and there is a camN interface file that is currently not connected to the system that is of a lower number than the next unused one.
 
Eric
0 Kudos
Message 2 of 3
(3,452 Views)

Hi Eric,

Thanks for the fast response.  This is the info I was looking for.

Regards,

Doug

 

0 Kudos
Message 3 of 3
(3,445 Views)