Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetMagnetometerMBS 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 magnetometers usually have multiple sensors, each oriented in a different axis, so multiple dimensions of compass bearing can be recorded.
If the Phidget you're using also has a gyroscope and an accelerometer, 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 MagneticFieldChanged(magneticField() as double, timestamp as double)
- 9 properties
- property AxisCount as Integer
- property DataInterval as UInt32
- property HeatingEnabled as Boolean
- property MagneticFieldChangeTrigger as Double
- property MaxDataInterval as UInt32
- property MaxMagneticFieldChangeTrigger as Double
- property MinDataInterval as UInt32
- property MinMagneticFieldChangeTrigger as Double
- property Timestamp as Double
- 7 methods
- method Constructor
- method MagneticField as Double()
- method MaxMagneticField as Double()
- method MinMagneticField as Double()
- method resetCorrectionParameters
- method saveCorrectionParameters
- method setCorrectionParameters(magneticField as double, offset0 as double, offset1 as double, offset2 as double, gain0 as double, gain1 as double, gain2 as double, T0 as double, T1 as double, T2 as double, T3 as double, T4 as double, T5 as double)
Super class PhidgetMBS
- 4 events
- event Attached
- event Detached
- event Error(errorCode as Integer, errorString as String)
- event PropertyChanged(propertyName as String)
- 33 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 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 IsChannel as Boolean
- property IsHubPortDevice as Boolean
- property IsLocal as Boolean
- property IsRemote as Boolean
- property MeshMode as Integer
- 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
- 2 shared properties
- 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)
- 2 shared methods
- shared method Poll
- shared method resetLibrary
- 292 constants
This class has no sub classes.
Blog Entries
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetLogMBS - PhidgetManagerMBS