IdReaderConfiguration#
This is the configuration class for python devices that act as an id reader. Inherit from this class instead of DeviceConfiguration for the configuration of an id reader device (see IdReader). This class inherits from DeviceConfiguration.
constructor IdReaderConfiguration(device_class: str, caption: str, supported_communicators: CommunicatorType)#
Initializes a new instance of the IdReaderConfiguration class.
Parameters#
| Name | Description |
|---|---|
| device_class | The name of the device class. |
| caption | The name of the device wihich is displayed in the Measmatic device manager. |
| supported_communicators | The communicator types supported by the device. |
property supports_image_capture#
Indicates whether the id reader can provide the image of the last read (see get_last_image of the IdReader). Set this to True in the configuration of an id reader which supports image capture.
Returns#
| Type | Description |
|---|---|
| bool | Whether the id reader supports image capture. |