Initialize a Device

__init__(self, dev_name, device_queue, device_timeout)

Description

Initializes the intf class. This method initializes the device interface by setting up the HostHelper instance and enumerating the available devices to retrieve their GUIDs.

Parameters

  • dev_name (str): Name of the devices

  • device_queue (int): Queue size

  • device_timeout (int): Timeout in seconds

Returns

  • intf object

Raises

  • Exception: If the device is not found

Usage

1  device_interface = intf("device_name", 8, 60)