Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetServoMBS class.

OldPhidgetServoMBS.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.

OldPhidgetServoMBS.getEngaged(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 engaged state of a motor. This is whether the motor is powered or not.

The Lasterror property is set.

index: The motor index.

OldPhidgetServoMBS.getMotorCount 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 motors supported by this controller

The Lasterror property is set.

OldPhidgetServoMBS.getPosition(index as Integer) as Double

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 a motor.

index: The motor index.

The Lasterror property is set.

OldPhidgetServoMBS.getPositionMax(index as Integer) as Double

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 maximum position that a motor can be set to.

index: The motor index.

The Lasterror property is set.

OldPhidgetServoMBS.getPositionMin(index as Integer) as Double

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 minimum position that a motor can be set to.

index: The motor index.

The Lasterror property is set.

OldPhidgetServoMBS.getServoType(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
Gets the servo type of a motor.

The Lasterror property is set.
For the value, check the PHIDGET_SERVO_* constants.

OldPhidgetServoMBS.setEngaged(index as Integer, value 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
Sets the engaged state of a motor. This is whether the motor is powered or not.

index: The motor index.

The Lasterror property is set.

OldPhidgetServoMBS.setPosition(index as Integer, value as Double)

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 a motor.

The Lasterror property is set.

index: The motor index.
position: The motor position.

OldPhidgetServoMBS.setServoParameters(index as Integer, min_us as Double, max_us as Double, degrees as Double)

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 servo parameters of a motor.

The Lasterror property is set.

indexThe motor index.
min_usThe minimum supported PCM in microseconds.
max_usThe maximum supported PCM in microseconds.
degreesThe degrees of rotation defined by the given PCM range.

OldPhidgetServoMBS.setServoType(index as Integer, value 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
Sets the servo type of a motor.

The Lasterror property is set.
For the value, check the PHIDGET_SERVO_* constants.

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


The biggest plugin in space...