Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetDigitalInputMBS 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 |
Use digital inputs to monitor the state of buttons, switches, or switch-to-ground sensors.
Subclass of the PhidgetMBS class.
- event StateChanged(state as integer)
- 3 properties
- property InputMode as Integer
- property PowerSupply as Integer
- property State as Integer
- method Constructor
- 5 constants
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
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetDictionaryMBS - PhidgetDigitalOutputMBS