Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetEncoderMBS class.

OldPhidgetEncoderMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constructor.

On success the handle value is not zero.
The Lasterror property is set.

OldPhidgetEncoderMBS.getEnabled(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the enabled state of an encoder. This is whether the encoder is powered or not.

The Lasterror property is set.

OldPhidgetEncoderMBS.getEncoderCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of encoder inputs supported by this board.

The Lasterror property is set.

OldPhidgetEncoderMBS.getIndexPosition(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Queries index position.

Gets the position of the last index pulse, as referenced to getPosition.
This will return EPHIDGET_UNKNOWN if there hasn't been an index event, or if the encoder doesn't support index.

The Lasterror property is set.

OldPhidgetEncoderMBS.getInputCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of digital inputs supported by this board.

The Lasterror property is set.

OldPhidgetEncoderMBS.getInputState(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the state of a digital input.

The Lasterror property is set.

OldPhidgetEncoderMBS.getPosition(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the current position of an encoder.

The Lasterror property is set.

OldPhidgetEncoderMBS.setEnabled(index as Integer, value as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the enabled state of an encoder. This is whether the encoder is powered or not.

The Lasterror property is set.

OldPhidgetEncoderMBS.setPosition(index as Integer, value as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the current position of an encoder.

The Lasterror property is set.

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


The biggest plugin in space...