Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetDistanceSensorMBS 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 |
If you're using a simple 0-5V sensor that does not have its own firmware, use the VoltageInput or VoltageRatioInput class instead, as specified for your device.
Subclass of the PhidgetMBS class.
- 2 events
- event DistanceChanged(distance as UInt32)
- event SonarReflectionsUpdated(distances() as UInt32, amplitudes() as UInt32)
- 10 properties
- property DataInterval as UInt32
- property Distance as UInt32
- property DistanceChangeTrigger as UInt32
- property MaxDataInterval as UInt32
- property MaxDistance as UInt32
- property MaxDistanceChangeTrigger as UInt32
- property MinDataInterval as UInt32
- property MinDistance as UInt32
- property MinDistanceChangeTrigger as UInt32
- property SonarQuietMode as Boolean
- 3 methods
- method Constructor
- method SonarReflectionsAmplitudes as UInt32()
- method SonarReflectionsDistances as UInt32()
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
Release notes
- Version 23.4
- Changed SonarQuietMode property in PhidgetDistanceSensorMBS class from Integer to Boolean.
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetDigitalOutputMBS - PhidgetEncoderMBS