- One can set the min position > max position. When this happens, it breaks the UI slider bar. Does it make sense to allow min position to be set greater than max position?
- When setting target position outside of the range of min/max positions, the details returned refer to the pulse width (instead of position range).
Example:
1. Min position = 0.0°, max position = 270.0°, min pulse width = 500.0, max pulse width = 2500.0
2. Setting target position = 300°
3. Result:
Code: Select all
Phidget22.PhidgetException.PhidgetException: PhidgetException 0x15 (Invalid Argument)
Value must be in range: 500.000000 - 2500.000000.
Code: Select all
Phidget22.PhidgetException.PhidgetException: PhidgetException 0x15 (Invalid Argument)
Value must be in range: 0.000000 - 270.000000.
Code: Select all
Python==3.8.6
Phidget22==1.6.20201024