Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetAccelerometerMBS 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 |
Phidget accelerometers usually have multiple sensors, each oriented in a different axis, so multiple dimensions of acceleration can be recorded.
If the Phidget you're using also has a gyroscope and a magnetometer, you may want to use the Spatial class in order to get all of the data at the same time, in a single event.
Subclass of the PhidgetMBS class.
- event AccelerationChanged(acceleration() as double, timestamp as double)
- 10 properties
- property AccelerationChangeTrigger as Double
- property AxisCount as Integer
- property DataInterval as UInt32
- property HeatingEnabled as Boolean
- property MaxAccelerationChangeTrigger as Double
- property MaxDataInterval as UInt32
- property MinAccelerationChangeTrigger as Double
- property MinDataInterval as UInt32
- property Precision as Integer New in 26.1
- property Timestamp as Double
- 4 methods
- method Acceleration as Double()
- method Constructor
- method MaxAcceleration as Double()
- method MinAcceleration as Double()
- 3 constants
Precision
| Constant | Value | Description |
|---|---|---|
| kPrecisionHigh | 1 |
High |
| kPrecisionHybrid | 0 |
Hybrid |
| kPrecisionLow | 2 |
Low |
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
- 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
- property HubPortSupportsAutoSetSpeed as Boolean
- property HubPortSupportsSetSpeed as Boolean
- property IsChannel as Boolean
- property IsHubPortDevice as Boolean
- property IsLocal as Boolean
- property IsOpen as Boolean
- property IsRemote as Boolean
- property MaxDataInterval as UInt32
- property MaxDataRate as Double
- property MaxHubPortSpeed as UInt32
- property MeshMode as Integer
- property MinDataInterval as UInt32
- property MinDataRate as Double
- 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
- 10 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 reboot New in 26.1
- method writeDeviceLabel(deviceLabel as String)
- method writeFlash New in 26.1
- 3 shared properties
- shared property InstanceCount as Integer
- shared property LibraryVersion as String
- shared property LibraryVersionNumber as String
- 3 shared methods
- shared method finalize(flags as Integer = 0)
- shared method Poll
- shared method resetLibrary
- 320 constants
This class has no sub classes.
Blog Entries
Release notes
- Version 26.1
- Added Precision property to PhidgetSpatialMBS, PhidgetAccelerometerMBS and PhidgetGyroscopeMBS classes.
Some related classes:
The items on this page are in the following plugins: MBS Phidgets Plugin.
PHFetchResultMBS - PhidgetBLDCMotorMBS