- NCSDK Python API 2.x
- Overview
- Enumerations
- Structures
- Global Functions
- Classes
class DeviceState(enum.Enum)
| Info | Value |
|---|---|
| Package | mvnc |
| Module | mvncapi |
| Version | 2.0 |
| See also | Device, DeviceOption, Device.get_option() |
DeviceState is an enumeration that defines states of a Device, which can be read with Device.get_option().
| Enumeration Member | Description |
|---|---|
| CREATED | The Device has been created, but device communication has not been opened. |
| OPENED | The device has been initialized and communication has been opened with Device.open(). |
| CLOSED | Communication with the device has been closed with Device.close(). |