ExtEncoder Unit
The following products are supported:
class ExtEncoderUnit
Constructors
Methods
- ExtEncoderUnit.get_rotary_increments() int
Gets the rotation increment of the Rotary object. Can be used to determine the direction of rotation.
UIFLOW2:
- ExtEncoderUnit.set_rotary_value(new_value: int) None
Sets the rotation value of the Rotary object.
- Parameters:
new_value (int) – adjust the current value.
UIFLOW2:
- ExtEncoderUnit.get_perimeter() int
Gets the perimeter of the Rotary object. The unit is millimeters.
UIFLOW2:
- ExtEncoderUnit.set_perimeter(perimeter: int) None
Sets the perimeter of the Rotary object.
- Parameters:
perimeter (int) – the perimeter of the Rotary object. The unit is millimeters.
UIFLOW2:
- ExtEncoderUnit.set_pulse(pulse: int) None
Sets the pulse per round.
- Parameters:
pulse (int) – the pulse per round.
UIFLOW2:
- ExtEncoderUnit.set_zero_mode(mode: int) None
Sets the zero mode of the Rotary object.
- Parameters:
mode (int) – the zero mode of the Rotary object.
UIFLOW2:
- ExtEncoderUnit.get_meter_value() int
Gets the meter value of the Rotary object. The unit is millimeters.
UIFLOW2:
