Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetDCMotorMBS 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 |
It can also contain various other control and monitoring functions that aid in the control of DC motors.
Subclass of the PhidgetMBS class.
- 4 events
- event BackEMFChanged(backEMF as double)
- event BrakingStrengthChanged(brakingStrength as double)
- event setTargetVelocityAsyncCompleted(ReturnCode as integer)
- event VelocityUpdated(velocity as double)
- 35 properties
- property Acceleration as Double
- property ActiveCurrentLimit as Double New in 25.0
- property BackEMF as Double
- property BackEMFSensingState as Integer
- property BrakingEnabled as Boolean New in 25.0
- property BrakingStrength as Double
- property CurrentLimit as Double
- property CurrentRegulatorGain as Double
- property DataInterval as UInt32
- property DriveMode as Integer New in 25.0
- property FailsafeBrakingEnabled as Boolean New in 25.0
- property FailsafeCurrentLimit as Double New in 25.0
- property Inductance as Double New in 25.0
- property MaxAcceleration as Double
- property MaxBrakingStrength as Double
- property MaxCurrentLimit as Double
- property MaxCurrentRegulatorGain as Double
- property MaxDataInterval as UInt32
- property MaxFailsafeTime as UInt32
- property MaxInductance as Double New in 25.0
- property MaxSurgeCurrentLimit as Double New in 25.0
- property MaxVelocity as Double
- property MinAcceleration as Double
- property MinBrakingStrength as Double
- property MinCurrentLimit as Double
- property MinCurrentRegulatorGain as Double
- property MinDataInterval as UInt32
- property MinFailsafeTime as UInt32
- property MinInductance as Double New in 25.0
- property MinSurgeCurrentLimit as Double New in 25.0
- property MinVelocity as Double
- property SurgeCurrentLimit as Double New in 25.0
- property TargetBrakingStrength as Double
- property TargetVelocity as Double
- property Velocity as Double
- 4 methods
- method Constructor
- method enableFailsafe(failsafeTime as UInt32)
- method resetFailsafe
- method setTargetVelocityAsync(targetVelocity as double)
- 2 constants
Drive Mode
Constant | Value | Description |
---|---|---|
kDriveModeCoast | 1 |
Coast |
kDriveModeForced | 2 |
Forced |
Super class PhidgetMBS
- 4 events
- event Attached
- event Detached
- event Error(errorCode as Integer, errorString as String)
- event PropertyChanged(propertyName as String)
- 43 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 DataRate as Double New in 25.0
- 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 HubPortSpeed as UInt32 New in 25.0
- property HubPortSupportsAutoSetSpeed as Boolean New in 25.0
- property HubPortSupportsSetSpeed as Boolean New in 25.0
- property IsChannel as Boolean
- property IsHubPortDevice as Boolean
- property IsLocal as Boolean
- property IsOpen as Boolean New in 25.0
- property IsRemote as Boolean
- property MaxDataInterval as UInt32 New in 25.0
- property MaxDataRate as Double New in 25.0
- property MaxHubPortSpeed as UInt32 New in 25.0
- property MeshMode as Integer
- property MinDataInterval as UInt32 New in 25.0
- property MinDataRate as Double New in 25.0
- 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
- 3 shared properties
- shared property InstanceCount as Integer New in 24.5
- 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)
- 3 shared methods
- shared method finalize(flags as Integer = 0) New in 24.5
- shared method Poll
- shared method resetLibrary
- 317 constants
This class has no sub classes.
Blog Entries
Release notes
- Version 25.0
- Added more properties and methods to PhidgetSpatialMBS, PhidgetMotorPositionControllerMBS, PhidgetBLDCMotorMBS, PhidgetDCMotorMBS, PhidgetMBS, PhidgetLCDMBS and PhidgetHubMBS classes.
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetCurrentInputMBS - PhidgetDictionaryMBS