Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetFrequencyCounterMBS 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 |
Such signals can come from other electronics, or certain sensors that have a pulse output.
Subclass of the PhidgetMBS class.
- 2 events
- event CountChanged(counts as UInt64, timeChange as double)
- event FrequencyChanged(frequency as double)
- 14 properties
- property Count as UInt64
- property DataInterval as UInt32
- property Enabled as Boolean
- property FilterType as Integer
- property Frequency as Double
- property FrequencyCutoff as Double
- property InputMode as Integer
- property MaxDataInterval as UInt32
- property MaxFrequency as Double
- property MaxFrequencyCutoff as Double
- property MinDataInterval as UInt32
- property MinFrequencyCutoff as Double
- property PowerSupply as Integer
- property TimeElapsed as Double
- 2 methods
- method Constructor
- method reset
- 7 constants
Filter Types
Constant | Value | Description |
---|---|---|
kFilterTypeLogicLevel | 2 |
Logic level |
kFilterTypeZeroCrossing | 1 |
Zero crossing |
Input Modes
Constant | Value | Description |
---|---|---|
kInputModeNPN | 1 |
For interfacing NPN digital sensors. |
kInputModePNP | 2 |
For interfacing PNP digital sensors. |
Power Supply
Constant | Value | Description |
---|---|---|
kPowerSupply12V | 2 |
The sensor is provided with 12 volts |
kPowerSupply24V | 3 |
The sensor is provided with 24 volts |
kPowerSupplyOff | 1 |
Switch the sensor power supply off. |
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
- MBS Xojo Plugins, version 23.4pr1
- Rewritten Phidgets Plugin
- MBS Plugins 11.1 Release notes
- MBS Real Studio Plugins, version 11.1pr8
- New Phidgets supported
Release notes
- Version 23.4
- Changed Count property in PhidgetFrequencyCounterMBS class from Int64 to UInt64.
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetErrorExceptionMBS - PhidgetGPGGAMBS