Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

PhidgetServoMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 7.7 Yes Yes Yes Yes No
Function: The constructor.
Notes:
On success the handle value is not zero.
The Lasterror property is set.

Feedback, Comments & Corrections

PhidgetServoMBS.getEngaged(index as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Gets the engaged state of a motor. This is whether the motor is powered or not.
Notes:
The Lasterror property is set.

index: The motor index.

Feedback, Comments & Corrections

PhidgetServoMBS.getMotorCount as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Gets the number of motors supported by this controller
Notes: The Lasterror property is set.

Feedback, Comments & Corrections

PhidgetServoMBS.getPosition(index as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Gets the current position of a motor.
Notes:
index: The motor index.

The Lasterror property is set.

Feedback, Comments & Corrections

PhidgetServoMBS.getPositionMax(index as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Gets the maximum position that a motor can be set to.
Notes:
index: The motor index.

The Lasterror property is set.

Feedback, Comments & Corrections

PhidgetServoMBS.getPositionMin(index as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Gets the minimum position that a motor can be set to.
Notes:
index: The motor index.

The Lasterror property is set.

Feedback, Comments & Corrections

PhidgetServoMBS.getServoType(index as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 11.0 Yes Yes Yes Yes No
Function: Gets the servo type of a motor.
Notes:
The Lasterror property is set.
For the value, check the PHIDGET_SERVO_* constants.

Feedback, Comments & Corrections

PhidgetServoMBS.setEngaged(index as Integer, value as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Sets the engaged state of a motor. This is whether the motor is powered or not.
Notes:
index: The motor index.

The Lasterror property is set.

Feedback, Comments & Corrections

PhidgetServoMBS.setPosition(index as Integer, value as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 8.4 Yes Yes Yes Yes No
Function: Sets the current position of a motor.
Notes:
The Lasterror property is set.

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

Feedback, Comments & Corrections

PhidgetServoMBS.setServoParameters(index as Integer, min_us as Double, max_us as Double, degrees as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 11.0 Yes Yes Yes Yes No
Function: Sets the servo parameters of a motor.
Notes:
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.

Feedback, Comments & Corrections

PhidgetServoMBS.setServoType(index as Integer, value as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Phidgets MBS USB Plugin 11.0 Yes Yes Yes Yes No
Function: Sets the servo type of a motor.
Notes:
The Lasterror property is set.
For the value, check the PHIDGET_SERVO_* constants.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo Chart Plugins