Multiple identical webcams - keeping them in order

This topic was touched on by Elso in '14 here

But he sort-of answered his own question without expanding on the cause and best fix for keeping the right camera on the right Video Device In TOP.

To restate the issue, I have two identical webcams on two VideoDeviceIn TOPs, and sometimes after a reboot, the TOPs swap cameras. This creates a problem for interactive installations.

Questions are, why does this happen?, and what’s the best way to prevent it?

Thanks in advance,

Todd

If you use the Info DAT on the Video Device In TOP, what kind of information is returned? What library are you using for the cameras? They should have a unique ID that is saved into the .toe file that it uses to try to match them up consistently. If the unique ID is changing for some reason though, then it’ll use the english readable name, which can be out of order depending on how the devices are enumerated on the system.

Hey Malcom,

Thanks for writing back. Here’s what I’m seeing in the info DAT:

Should this be enough for Touch to differentiate them and save the ID in the TOE?

So I guess the question is, are those unique USB identifiers changing on you. If they are then the camera will fall back to trying to match by the English name, which may change if the enumeration order of the cameras has changed. Notice that the identifier is based on the USB ID though, not the physical camera itself. So if you change ports they are plugged into, you may get new IDs.

I will keep an eye on it. This is the first time I recorded the info DAT output, so I’ll have to let you know.

The cameras have never switched ports, but over the duration of the installation (about 8 months so far) the cameras swapped about 3-4 times. I added a button to the interface to allow staff to invoke a camera swap, but I’d still like to try to understand the underlying cause. With 2 cameras it’s not terrible, but with 3 or 4 cameras the ordering fix becomes more complex.