How Can I Get the UUID From a Camera?

Updated Apr 30, 2024

Reported In

Driver

  • Vision Acquisition Software
  • NI-IMAQdx

Issue Details

I need to access the UUID of a camera, how can I get that information?

Solution

IMAQdx have two "Serial Numbers". One is the Serial Number that is printed on the label, which is a device ID provided by the manufacturer. 
 camera serial number.png
 
The other Serial Number is the unique serial number that IMAQdx uses for the camera. For GigE cameras, the UUID is based on the camera's MAC address. That can be read by querying the SerialNumberHigh and SerialNumberLow properties. You should be able to use IMAQdxGetAttribute to read the SerialNumberHigh and Low properties, just look at the list of attributes to get the right name to query. Also, in NI MAX you could get the information as the image below shows.

Serial Number high and low.png