LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning a fixed com number to a USB port on a computer

Seems like your hardware is not capable of doing that. Either the cameras itself don't provide a serial number, or the EZ Capture Device doesn't support quering that but instead rather generates its own serial number based on the port you plugin your camera. Cheap no-name cameras often provide only the minimum necessary functionality to actually provide just the image and nothing else. Programming a unique serial number during the final test is an extra effort and cost, that can be safely left away for pretty much all consumer applications. As long as you don't try to plug in the same type of camera more than once in a computer, even Windows will not have a problem. Your EZ Capture device knows about that and generates its own serial numbers for each camera, so that the Windows USB drivers won't complain about non-unique hardware connected to it.

 

Although I start to wonder. The EZCap U3 series seems to be mostly HDMI/SDI to USB converters. That might be an additional problem as those standards don't even provide a standardized method to query a device for a serial number. So the EZCap may have to invent them anyhow.

Rolf Kalbermatter
My Blog
0 Kudos
Message 31 of 33
(745 Views)

@rolfk wrote:

Seems like your hardware is not capable of doing that. Either the cameras itself don't provide a serial number, or the EZ Capture Device doesn't support quering that but instead rather generates its own serial number based on the port you plugin your camera. Cheap no-name cameras often provide only the minimum necessary functionality to actually provide just the image and nothing else. Programming a unique serial number during the final test is an extra effort and cost, that can be safely left away for pretty much all consumer applications. As long as you don't try to plug in the same type of camera more than once in a computer, even Windows will not have a problem. Your EZ Capture device knows about that and generates its own serial numbers for each camera, so that the Windows USB drivers won't complain about non-unique hardware connected to it.

 

Although I start to wonder. The EZCap U3 series seems to be mostly HDMI/SDI to USB converters. That might be an additional problem as those standards don't even provide a standardized method to query a device for a serial number. So the EZCap may have to invent them anyhow.


thanks for the answer.
Actually, I asked this to the manufacturer, but there is no answer 🙂

I guess I'll just go with my own solution for now.


I created the method I mentioned earlier and added it below. At least it's working for now. I think it will work well, especially in systems that do not have extra cameras on the computer (embedded cameras).

the code could possibly be improved.

0 Kudos
Message 32 of 33
(717 Views)

Can you downgrade the LLB to LV 2015 plz?

 

thanks!

0 Kudos
Message 33 of 33
(188 Views)