Platforms to show: All Mac Windows Linux Cross-Platform

Back to PhidgetIRMBS class.

PhidgetIRMBS.CodeReceived(code as string, bitCount as Integer, isRepeat as Boolean)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No
This event is fired every time a code is received and correctly decoded.

code: The code string
bitCount: The length of the received code in bits
isRepeat: true if a repeat is detected

The code is represented by a hexadecimal string (array of bytes) with a length of 1/4 of bitCount.
The MSBit is considered to be the first bit received and will be in array index 0 of code
Repeat will be true if a repeat is detected (either timing wise or via a repeat code)
False repeasts can happen if two separate button presses happen close together

PhidgetIRMBS.Learned(code as string, codeInfo as PhidgetIRCodeInfoMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No
This event fires when a button has been held down long enough for the channel to have learned the CodeInfo values.

A code is usually learned after 1 second, or after 4 repeats.

PhidgetIRMBS.RawDataReceived(data as MemoryBlock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
event Phidgets MBS Phidgets Plugin 22.1 ✅ Yes ✅ Yes ✅ Yes ❌ No
This event will fire every time the channel gets more data.

This will happen at most once every 8ms.

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


The biggest plugin in space...