Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetManagerMBS 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 is useful for listing all available Phidgets so you can select which ones to use at runtime.
You do not need to use a Phidget Manager if you know what Phidgets will be required for your application in advance.
Phidget channels that become available will each send an Attach event, and Phidgets that are removed from the system will send corresponding Detach events. If you are using a Phidget Manager, your program is responsible for keeping track of available Phidgets using these events.
Please use LoadLibrary shared method in PhidgetManagerMBS class to load Phidgets library before using the classes.
- 5 events
- event Attached(phid as PhidgetMBS)
- event Detached(phid as PhidgetMBS)
- event Error(errorCode as Integer, errorString as String)
- event WakeUp New in 26.1
- event WillSleep New in 26.1
- property Handle as Integer
- 4 methods
- method Close
- method Constructor
- method Destructor
- method Open
- 2 shared properties
- shared property LibraryLoaded as Boolean
- shared property LibraryLoadError as String
- 2 shared methods
- shared method LoadLibrary(file as FolderItem) as Boolean
- shared method LoadLibrary(path as String) as Boolean
This class has no sub classes.
Blog Entries
- MBS Xojo Plugins, version 26.1pr1
- MBS Xojo Plugins, version 22.1pr4
- MBS Plugins 11.1 Release notes
- MBS REALbasic Plugins, version 11.1pr4
Xojo Developer Magazine
- 23.4, page 69: Xojo Tennis, Part 3, Playing tennis with Xojo and MBS by Stefanie Juchmes-Simonis
- 22.3, page 93: Phidgets, What are they and how to use them by Stefanie Juchmes-Simonis
Release notes
- Version 26.1
- Added WillSleep and WakeUp events to PhidgetManagerMBS class.
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetMagnetometerMBS - PhidgetMBS