Currently in cases where a server connects to two cameras, you cannot permanently set the device ID or index to make sure that a process will always connect to a specific camera. In fact, PVCam does not support doing this. What needs to happen, is to loop over the detected cameras, and open them one by one and check the serial number - if it matches, then continue, otherwise close and move on.
Currently in cases where a server connects to two cameras, you cannot permanently set the device ID or index to make sure that a process will always connect to a specific camera. In fact, PVCam does not support doing this. What needs to happen, is to loop over the detected cameras, and open them one by one and check the serial number - if it matches, then continue, otherwise close and move on.