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 |
If the device supports an index pin as a reference point, you can also access it through this class.
Subclass of the PhidgetMBS class.
- event PositionChanged(positionChange as Integer, timeChange as double, indexTriggered as Integer)
- 10 properties
- property DataInterval as UInt32
- property Enabled as Boolean
- property IndexPosition as Int64
- property IOMode as Integer
- property MaxDataInterval as UInt32
- property MaxPositionChangeTrigger as UInt32
- property MinDataInterval as UInt32
- property MinPositionChangeTrigger as UInt32
- property Position as Int64
- property PositionChangeTrigger as UInt32
- method Constructor
- 5 constants
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
- 4 events
- event Attached
- event Detached
- event Error(errorCode as Integer, errorString as String)
- event PropertyChanged(propertyName as String)
- 33 properties
- property Attached as Boolean
- property Channel as Integer
- property ChannelClass as Integer
- property ChannelClassName as String
- property ChannelName as String
- property ChannelSubclass as Integer
- property ClientVersionMajor as Integer
- property ClientVersionMinor as Integer
- property DataInterval as UInt32
- property DeviceClass as Integer
- property DeviceClassName as String
- property DeviceID as Integer
- property DeviceLabel as String
- property DeviceName as String
- property DeviceSerialNumber as Integer
- property DeviceSKU as String
- property DeviceVersion as Integer
- property Handle as Integer
- property Hub as PhidgetMBS
- property HubPort as Integer
- property HubPortCount as Integer
- property IsChannel as Boolean
- property IsHubPortDevice as Boolean
- property IsLocal as Boolean
- property IsRemote as Boolean
- property MeshMode as Integer
- property Parent as PhidgetMBS
- property ServerHostname as String
- property ServerName as String
- property ServerPeerName as String
- property ServerUniqueName as String
- property ServerVersionMajor as Integer
- property ServerVersionMinor as Integer
- 2 shared properties
- shared property LibraryVersion as String
- shared property LibraryVersionNumber as String
- 8 methods
- method ChildDevices as PhidgetMBS()
- method close
- method Constructor Private
- method Destructor
- method DeviceChannelCount(ChannelClass as Integer) as Integer
- method open
- method openWaitForAttachment(timeoutMs as UInt32 = 1000)
- method writeDeviceLabel(deviceLabel as String)
- 2 shared methods
- shared method Poll
- shared method resetLibrary
- 292 constants
This class has no sub classes.
Blog Entries
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetDistanceSensorMBS - PhidgetErrorExceptionMBS