Platforms to show: All Mac Windows Linux Cross-Platform

Back to OldPhidgetIRMBS class.

OldPhidgetIRMBS.Constructor

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

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

OldPhidgetIRMBS.getLastCode(byref bitCount as Integer) as MemoryBlock

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 last code that was received.

The Lasterror property is set.

bitCount: set to the bit count of the code.

OldPhidgetIRMBS.getLastLearnedCode(byref codeInfo as OldPhidgetIRCodeInfoMBS) as MemoryBlock

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 last code that was learned.

The Lasterror property is set.

OldPhidgetIRMBS.getRawData as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Read any available raw data.

This should be polled continuously (every 20ms) to avoid missing data. Read data always starts with a space and ends with a pulse.
The Lasterror property is set.

OldPhidgetIRMBS.Transmit(data as MemoryBlock, codeInfo as OldPhidgetIRCodeInfoMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Transmits a code according to the settings in a CodeInto object.

The Lasterror property is set.

data: The code to send. Data is transmitted MSBit first. MSByte is in array index 0. LSBit is right justified, so MSBit may be in bit positions 0-7 in array index 0 depending on the bit count.
codeInfo: The CodeInfo structure specifying to to send the code. Anything left as null to select default is filled in for the user.

OldPhidgetIRMBS.TransmitRaw(data as MemoryBlock, length as Integer, carrierFrequency as Integer, dutyCycle as Integer, gap 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
Transmits RAW data as a series of pulses and spaces.

The Lasterror property is set.

data: The data to send. The array (Int32) must start and end with a pulse and each element is a positive time in us.
length: The length of the data array. Maximum length is 1024, but streams should be kept much shorter, ie. < 100ms between gaps.
carrierFrequency: The Carrier Frequency in Hz. leave as 0 for default.
dutyCycle: The Duty Cycle (10-50). Leave as 0 for default.
gap: The gap time in us. This guarantees a gap time (no transmitting) after the data is sent, but can be set to 0.

OldPhidgetIRMBS.TransmitRepeat

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Phidgets MBS Phidgets Plugin 11.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Transmits a repeat of the last transmited code.

The Lasterror property is set.
Depending of 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.


The biggest plugin in space...