Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetInterfaceKitMBS class.

OldPhidgetInterfaceKitMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The constructor.

On success the handle value is not zero.
The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getDataRate(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the Data Rate for an analog input in milliseconds.

The Lasterror property is set.

This is the event rate. Since we're not going to run an extra thread, the accuracy of the data rate is limited by the interrupt endpoint data rate (>=8ms).

OldPhidgetInterfaceKitMBS.getDataRateMax(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the maximum supported data rate for an analog input in milliseconds.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getDataRateMin(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the minimum supported data rate for an analog input in milliseconds.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getInputCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of digital inputs supported by this board.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getInputState(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the state of a digital input.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getOutputCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of digital outputs supported by this board.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getOutputState(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the state of a digital output.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getRatiometric as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the ratiometric state for this board.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getSensorChangeTrigger(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the amount of change that should exist between the last reported value and the current value before an OnSensorChange event is fired.

To receive all events, set the SensorChangeTrigger to zero.
The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getSensorCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the number of sensor (analog) inputs supported by this board.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getSensorRawValue(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Returns the reported actual value of the sensor between 0 - 4095.

This is directly proportional to the analog input, ranging from 0-5V (or 0-Vcc if Ratiometric is set to True).
Note that this value defaults to 65535 for an unitialised state. Applications that do not wish to encounter this value should use ChangeTrigger event handlers as opposed to polling the device for new data.
The Lasterror property is set.

OldPhidgetInterfaceKitMBS.getSensorValue(index as Integer) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Gets the last reported sensor value for the given index as a value from 0-1000

Note that this value defaults to 65535 for an unitialised state. Applications that do not wish to encounter this value should use ChangeTrigger event handlers as opposed to polling the device for new data.
The Lasterror property is set.

OldPhidgetInterfaceKitMBS.setDataRate(index as Integer, milliseconds as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the Data Rate for an analog input in milliseconds.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.setOutputState(index as Integer, value as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the state of a digital output.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.setRatiometric(value as boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 8.4 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Sets the ratiometric state for this board.

The Lasterror property is set.

OldPhidgetInterfaceKitMBS.setSensorChangeTrigger(index as Integer, value as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 7.7 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Specifies the amount of change that should exist between the last reported value and the current value before an OnSensorChange event is fired.

Lasterror is set.

The items on this page are in the following plugins: MBS Phidgets Plugin.


The biggest plugin in space...