Industrial Cameras FAQ/How can application program di...

How can application program distinguish each camera in a system that uses multiple cameras.(No.219)

The following two methods are usually used for distinguishing cameras.

A) Checking model name and serial number of a camera.
Application software can get model name and serial number from CAM_INFO structure. Please use Cam_GetInformation() to get CAM_INFO structure.
In case of .NET Framework language, use CameraInfo class object acquired with CameraSystm.GetCameraInformation() or CameraDevice.GetInformation() method to get model name and serial number.

B)Checking UserDefinedName register value.
User application can distinguish cameras using unique strings (UserDefinedName) read out with GetCamUserDefinedName() function. Users shoukd write string unique to each camera beforehand using SetCamUserDefinedName() function.

Application software can select camera properly by checking UserDefinedName even if some cameras are replaced to new ones. (Users should write UserDefinedName in removed cameras to new cameras on replacing cameras, of cource.)

Refer to FAQ items "Please show how to open camera specifying camera model name and serial number."and "Please show how to open camera specifying UserDefinedName."

back

Was this FAQ helpful?

Please let us know your opinion about the FAQ so that we will be able to improve our FAQ. (Within 800 characters)
Note: If you need a reply to your inquiry (e.g. inquiry about products), please use the inquiries form provided on Contact Us page. Please note that we cannot answer to your questions filled in below.

Please click below to change the cookie settings used on our website.