Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
This class is also used to specify the associations between the Phidget software objects and their corresponding physical devices, and makes it possible to determine which Phidget is which in cases where it might otherwise be ambiguous.
This class contains various functions such as Release, Retain, and getParent designed to be used with the Phidget Manager. These specialized functions may be safely ignored if your application does not require a Manager. You can check the Manager API for more information.
All errors are reported as exceptions.
And MBS Plugin schedules all events to raise on main thread, so you can easily update GUI.
Please use LoadLibrary shared method in PhidgetManagerMBS class to load Phidgets library before using the classes
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 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
- 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)
- shared method Poll
- shared method resetLibrary
- 317 constants
Sub classes:
- class PhidgetAccelerometerMBS
- class PhidgetBLDCMotorMBS
- class PhidgetCapacitiveTouchMBS
- class PhidgetCurrentInputMBS
- class PhidgetDCMotorMBS
- class PhidgetDictionaryMBS
- class PhidgetDigitalInputMBS
- class PhidgetDigitalOutputMBS
- class PhidgetDistanceSensorMBS
- class PhidgetEncoderMBS
- class PhidgetFrequencyCounterMBS
- class PhidgetGPSMBS
- class PhidgetGyroscopeMBS
- class PhidgetHubMBS
- class PhidgetHumiditySensorMBS
- class PhidgetIRMBS
- class PhidgetLCDMBS
- class PhidgetLightSensorMBS
- class PhidgetMagnetometerMBS
- class PhidgetMotorPositionControllerMBS
- class PhidgetMotorVelocityControllerMBS
- class PhidgetPHSensorMBS
- class PhidgetPowerGuardMBS
- class PhidgetPressureSensorMBS
- class PhidgetRCServoMBS
- class PhidgetResistanceInputMBS
- class PhidgetRFIDMBS
- class PhidgetSoundSensorMBS
- class PhidgetSpatialMBS
- class PhidgetStepperMBS
- class PhidgetTemperatureSensorMBS
- class PhidgetVoltageInputMBS
- class PhidgetVoltageOutputMBS
- class PhidgetVoltageRatioInputMBS
Blog Entries
- News from the MBS Xojo Plugins in version 24.5
- MBS Xojo Plugins, version 25.0pr8
- MBS Xojo Plugins, version 24.6pr6
- MBS Xojo Plugins, version 24.5pr6
- MBS Xojo Plugins, version 24.2pr3
- MBS Xojo Plugins, version 24.2pr2
Xojo Developer Magazine
Release notes
- Version 25.0
- Added IsOpen, MinDataRate, MaxDataInterval, MaxDataRate, MinDataInterval, DataRate properties to PhidgetMBS class.
- Added more properties and methods to PhidgetSpatialMBS, PhidgetMotorPositionControllerMBS, PhidgetBLDCMotorMBS, PhidgetDCMotorMBS, PhidgetMBS, PhidgetLCDMBS and PhidgetHubMBS classes.
- Added new constants for PhidgetMBS class.
- Version 24.5
- Added finalize method and InstanceCount property for PhidgetMBS class.
- Version 24.2
- Improved PhidgetMBS classes to prevent crashes with disconnected devices.
Some properties using for this class:
- PhidgetMBS.Hub as PhidgetMBS
- PhidgetMBS.Parent as PhidgetMBS
Some events using this class:
- PhidgetManagerMBS.Attached(phid as PhidgetMBS)
- PhidgetManagerMBS.Detached(phid as PhidgetMBS)
Some examples using this class:
Some related classes:
- class PhidgetDictionaryMBS
- class PhidgetDigitalOutputMBS
- class PhidgetEncoderMBS
- class PhidgetFrequencyCounterMBS
- class PhidgetGPSMBS
- class PhidgetHubMBS
- class PhidgetManagerMBS
- class PhidgetRCServoMBS
- class PhidgetTemperatureSensorMBS
- class PhidgetVoltageRatioInputMBS
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetManagerMBS - PhidgetMissingFunctionExceptionMBS
