PhidgetEncoderMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

PhidgetEncoderMBS class

Super class: PhidgetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The Encoder class is used to read position data from quadrature encoders in order to track linear or rotary movement.

If the device supports an index pin as a reference point, you can also access it through this class.
Subclass of the PhidgetMBS class.

Encoder Interface Modes

Constant Value Description
kEncoderIOModeCollector10K 5 Line Driver 10K, 10kΩ pull-down resistors will be applied to the input lines.
kEncoderIOModeCollector2K2 4 Open Collector 2.2K, 2.2kΩ pull-up resistors will be applied to the input lines.
kEncoderIOModeLineDriver10K 3 Open Collector 10K, 10kΩ pull-up resistors will be applied to the input lines.
kEncoderIOModeLineDriver2K2 2 Line Driver 2.2K, 2.2kΩ pull-down resistors will be applied to the input lines.
kEncoderIOModePushPull 1 Push-Pull, No additional pull-up or pull-down resistors will be applied to the input lines.

Super class PhidgetMBS

This class has no sub classes.

Blog Entries


The items on this page are in the following plugins: MBS Phidgets Plugin.


PhidgetDistanceSensorMBS   -   PhidgetErrorExceptionMBS


💬 Ask a question or report a problem