Platforms to show: All Mac Windows Linux Cross-Platform
Back to PhidgetIRMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
PhidgetIRMBS.getLastCode(byref bitCount as UInt32) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The code is represented by a hexadecimal string (array of bytes).
PhidgetIRMBS.getLastLearnedCode(byref codeInfo as PhidgetIRCodeInfoMBS) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
The code is represented by a hexadecimal string (array of bytes).
The codeInfo structure holds data that describes the learned code.
PhidgetIRMBS.transmit(code as String, codeInfo as PhidgetIRCodeInfoMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
code data is transmitted MSBit first.
MSByte is in array index 0 of code
LSBit is right justified, therefore, MSBit may be in bit position 0-7 (of array index 0) depending on the bit count.
code:code data
codeInfo:contains the data for characterizing the code.
PhidgetIRMBS.transmitRaw(data as MemoryBlock, carrierFrequency as UInt32, dutyCycle as double, gap as UInt32)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
data: data to send.
dataLen: length of the data array
carrierFrequency: carrier frequency in Hz
dutyCycle: the duty cycle
gap: the gap time.
data must start and end with a pulse.
Each element is a positive time in μs
dataLength has a maximum length of 200, however, streams should be kept must shorter than this (less than 100ms between gaps).
dataLength must be an odd number
Leave carrierFrequency as 0 for default.
carrierFrequency has a range of 10kHz - 1MHz
Leave dutyCycle as 0 for default
dutyCycle can have a value between 0.1 and 0.5
Specifying a gap will guarantee a gap time (no transmitting) after data is sent.
gap time is in μs
gap time can be set to 0
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Depending on the CodeInfo structure, this may be a retransmission of the code itself, or there may be a special repeat code.
The items on this page are in the following plugins: MBS Phidgets Plugin.