Type


Structure


Description

The following structures define camera specific information as used with PxLGetNumberCamerasEx. This information is principally used with GigE Vision (GEV) cameras, and is collected using a network discovery protocol (as per the GEV standard).


 

typedef struct _CAMERA_ID_INFO

{

U32              StructSize;

U32              CameraSerialNum;

PXL_MAC_ADDRESS  CameraMac;

PXL_IP_ADDRESS   CameraIpAddress;

PXL_IP_ADDRESS   CameraIpMask;

PXL_IP_ADDRESS   CameraIpGateway;

PXL_IP_ADDRESS   NicIpAddress;

PXL_IP_ADDRESS   NicIpMask;

U32              NicAccessMode;

U8               CameraIpAssignmentType;

U8               XmlVersionMajor;

U8               XmlVersionMinor;

U8               XmlVersionSubmMinor;

U8               IpEngineLoadMajor;

U8               IpEngineLoadMinor;

U8               IpEngineLoadSubminor;

U8               CameraProperties;

PXL_IP_ADDRESS ControllingIpAddress

} CAMERA_ID_INFO, *PCAMERA_ID_INFO;


Member
Description

Structsize

An integer (U32) containing the size of this struct. Set this to sizeof (CAMERA_ID_INFO) before calling PxLGetNumberCamerasEx. Note, if you are passing in an array of these to PxLGetNumberCamerasEx, you need to set this field only in the first element of the array.

CameraSerialNum

An integer (U32) containing the camera serial number.

CameraMac

A structure containing the MAC address as an array of six unsigned bytes (U8).

CameraIpAddress

A structure containing the IP address of the camera.

CameraIpMask

A structure containing the IP subnet mask of the camera.

CameraIpGateway

A structure containing the IP address of the default gateway of the camera.

NICIpAddress

A structure containing the IP address of the host network interface card (NIC) being used to communicate with the camera.

NICIpMask

A structure containing the IP subnet mask of the host NIC used to communicate with the camera.

NICAccessMode

Information about the type of NIC driver used on the host computer.

CameraIpAssignmentType

The camera's IP address assignment type. 

XmlVersionMajor

GigE Vision (GEV) XML version is specified as Major, Minor, SubMinor, (e.g. 1.2.0). This is the Major Part of the version. Note that this field, as well as the other XML version identifiers in this structure, are not used by USB3 Vision cameras - the XML version of those cameras is obtained via PxLGetCameraInfoEx

XmLVersionMinor

GEV XML minor version.

XmLVersionSubminor

GEV XML subminor version.

IpEngineLoadMajor

IP engine major version (Major,Minor, Subminor).

IpEngineLoadMinor

IP Engine minor version.

IpEngineLoadSubminor

IP engine subminor version.

CameraProperties

IP-specific properties of the camera.

ControllingIpAddress

If a GEV camera is currently being controlled by another application, then this field identifies the (IP address of the) host of that application.