Platforms to show: All Mac Windows Linux Cross-Platform
OldPhidgetServoMBS class Deprecated
Super class: OldPhidgetMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Phidgets | MBS Phidgets Plugin | 7.7 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This item is deprecated and should no longer be used.
You can use PhidgetRCServoMBS instead.
The class for a phidget servo device.
The PhidgetServo is a component that provides a high-level programmer interface to control a PhidgetServo device connected through a USB port.
With this component, the programmer can:
- Set the desired position for a servo motor, ranging from 0 to 180 degrees.
- event MotorPositionChanged(index as Integer, value as Double)
- 11 methods
- method Constructor
- method getEngaged(index as Integer) as boolean
- method getMotorCount as Integer
- method getPosition(index as Integer) as Double
- method getPositionMax(index as Integer) as Double
- method getPositionMin(index as Integer) as Double
- method getServoType(index as Integer) as Integer
- method setEngaged(index as Integer, value as boolean)
- method setPosition(index as Integer, value as Double)
- method setServoParameters(index as Integer, min_us as Double, max_us as Double, degrees as Double)
- method setServoType(index as Integer, value as Integer)
Super class OldPhidgetMBS
- 7 events
- event Attach
- event Detach
- event Error(errorCode as Integer, errorDescription as string)
- event ServerConnect
- event ServerDisconnect
- event Wakeup
- event WillSleep
- 2 properties
- 24 methods
- method Close
- method disableLogging
- method enableLogging(level as Integer, outputFile as string)
- method GetDeviceClass as Integer
- method GetDeviceID as Integer
- method GetDeviceLabel as string
- method GetDeviceName as string
- method GetDeviceStatus as Integer
- method GetDeviceType as string
- method GetDeviceVersion as Integer
- method GetErrorDescription(errorcode as Integer) as string
- method GetLibraryVersion as string
- method GetSerialNumber as Integer
- method GetServerAddress(byref port as Integer) as string
- method GetServerID as string
- method GetServerStatus as Integer
- method Open(serialNumber as Integer = -1)
- method OpenLabel(label as string = "")
- method openLabelRemote(label as string, serverID as string, password as string = "")
- method openLabelRemoteIP(label as string, addr as string, port as Integer, password as string = "")
- method openRemote(serial as Integer, serverID as string, password as string = "")
- method openRemoteIP(serial as Integer, addr as string, port as Integer, password as string = "")
- method SetDeviceLabel(label as string)
- method waitForAttachment(milliseconds as Integer)
- 2 shared methods
- 161 constants
This class has no sub classes.
The items on this page are in the following plugins: MBS Phidgets Plugin.
OldPhidgetRFIDMBS - OldPhidgetSpatialEventDataMBS