DeviceInfo

class itala.itala.DeviceInfo

Bases: object

This class stores information about a device and represents its identity. When an enumeration (also known as “discovery”) is performed via the ISystem interface, a list of DeviceInfo is returned as result. To initialize and use a particular connected device, the user must pass the corresponding DeviceInfo instance to the ISystem interface.

property access_status: DeviceAccessStatus

Get the accessibility status of the device. Depending on its network configuration or internal state (e.g. if already in use by another process) its accessibility may change. It’s responsibility of the user to check if a device is currently available for initialization before using it.

Return type:

int

Returns:

access status of the device.

property default_gateway: int

Get the default gateway configured on the device according with the same format described in IpAddress().

Return type:

int

Returns:

Default gateway of the device as raw integer in host byte order.

See also: IpAddress()

property display_name: str

Get a string containing the user readable name of the device.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Name of the device

property id: str

Get the unique ID of the device. The ID of a discovered device is a string used to uniquely identify the device in the current execution context.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Unique ID of the device

property ip_address: int

Get an unsigned 32 bit integer containing the IP address of the device in host order. For instance, the value 0xC0A8012A represents the IP address 192.168.1.42 in IPv4 dotted-decimal notation. - 0xC0 = 192 - 0xA8 = 168 - 0x01 = 1 - 0x2A = 42

Return type:

int

Returns:

IP address of the device as integer in host byte order.

property mac_address: int

Get an unsigned 64 bit integer containing the mac address of the device in host byte order. A 64 bit integer is required since the MAC address is 6 bytes long. For instance, the value 0x0000885FE8200001 represents the mac address 88:5f:e8:20:00:01 in colon-heaxadecimal notation.

Return type:

int

Returns:

MAC address of the device as integer in host byte order.

property model: str

Get a string containing the model of the device.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Model of the device

property parental_interface_info: InterfaceInfo

Get the InterfaceInfo instance of the interface under which the device is connected and enumerated.

Return type:

InterfaceInfo

Returns:

Info object of the interface which owns the device.

property serial_number: str

Get a string containing the serial number of the device.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Serial number of the device

property subnet_mask: int

Get the subnet mask configured on the device in the same format described in IpAddress().

Return type:

int

Returns:

Subnet mask of the device as raw integer in host byte order.

See also: IpAddress()

property thisown

The membership flag

property user_defined_name: str

Get a string containing the name of the device defined by the user, when available.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

User-defined name of the device

property vendor: str

Get a string containing the name of the device vendor.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Name of the device vendor

property version: str

Get a string containing the version of the physical device.

Return type:

GENICAM_NAMESPACE::gcstring

Returns:

Version of the device