Info | Value |
---|---|
Package | mvnc |
Module | mvncapi |
Version | 1.0 |
See also | Device.SetDeviceOption() DeviceOption |
This function is used to get an option for the device. The options can be found in the DeviceOption enumeration table.
GetDeviceOption(option)
Parameter | Description |
---|---|
option | Member of the DeviceOption enumeration that specifies which option to get. |
The value for the specified device option. The type of the returned value depends on the option specified. See the DeviceOption enumeration for the type that will be returned for each option.
import mvnc.mvncapi as ncs
# Initialize and open device
# Get the device option THERMAL_THROTTLING_LEVEL
optionValue = device.GetDeviceOption(mvnc.DeviceOption.THERMAL_THROTTLING_LEVEL)