Platforms to show: All Mac Windows Linux Cross-Platform
PhidgetDataAdapterMBS class New in 26.4
Super class: PhidgetMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Phidgets | MBS Phidgets Plugin | 26.4 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Subclass of the PhidgetMBS class.
- event sendPacketAsyncCompleted(ReturnCode as integer)
- 10 properties
- property DataAdapterVoltage as Integer
- property DataBits as UInt32
- property Endianness as Integer
- property Frequency as Integer
- property MaxDataBits as UInt32
- property MaxReceivePacketLength as UInt32
- property MaxSendPacketLength as UInt32
- property MinDataBits as UInt32
- property SPIChipSelect as Integer
- property SPIMode as Integer
- 11 methods
- method Constructor
- method i2cComplexTransaction(address as Integer, I2CPacketString as String, Data as MemoryBlock, recvDataLen as Integer) as MemoryBlock
- method i2cComplexTransaction(address as Integer, I2CPacketString as String, Data as String, recvDataLen as Integer) as String
- method i2cSendReceive(address as Integer, Data as MemoryBlock, recvDataLen as Integer) as MemoryBlock
- method i2cSendReceive(address as Integer, Data as String, recvDataLen as Integer) as String
- method sendPacket(Data as MemoryBlock)
- method sendPacket(Data as String)
- method sendPacketAsync(Data as MemoryBlock)
- method sendPacketAsync(Data as String)
- method sendPacketWaitResponse(Data as MemoryBlock, recvDataLen as Integer = -1) as MemoryBlock
- method sendPacketWaitResponse(Data as String, recvDataLen as Integer = -1) as String
- 23 constants
Voltages
| Constant | Value | Description |
|---|---|---|
| DataAdapterVoltage2_5V | 3 |
5.0 Volt |
| DataAdapterVoltage3_3V | 4 |
3.3 Volt |
| DataAdapterVoltage5_0V | 5 |
5.0 Volt |
| DataAdapterVoltageExtern | 1 |
Voltage supplied by external device |
Endianness
| Constant | Value | Description |
|---|---|---|
| EndiannessLSBFirst | 2 |
LSB First |
| EndiannessMSBFirst | 1 |
MSB First |
Frequencies
| Constant | Value | Description |
|---|---|---|
| Frequency100kHz | 2 |
100kHz communication frequency |
| Frequency10kHz | 1 |
10kHz communication frequency |
| Frequency1500kHz | 7 |
1500kHz communication frequency |
| Frequency188kHz | 4 |
187.5kHz communication frequency |
| Frequency375kHz | 5 |
375kHz communication frequency |
| Frequency3MHz | 8 |
3MHz communication frequency |
| Frequency400kHz | 3 |
400kHz communication frequency |
| Frequency6MHz | 9 |
6MHz communication frequency |
| Frequency750kHz | 6 |
750kHz communication frequency |
SPI Chip Select
| Constant | Value | Description |
|---|---|---|
| SPIChipSelectActiveHigh | 2 |
CS normally LOW, Automatically goes HIGH during transmission |
| SPIChipSelectActiveLow | 1 |
CS normally HIGH, Automatically goes LOW during transmission |
| SPIChipSelectHigh | 4 |
CS is held HIGH as long as this is set |
| SPIChipSelectLow | 3 |
CS is held LOW as long as this is set |
Modes
| Constant | Value | Description |
|---|---|---|
| SPIMode0 | 1 |
CPOL = 0 CPHA = 0 |
| SPIMode1 | 2 |
CPOL = 0 CPHA = 1 |
| SPIMode2 | 3 |
CPOL = 1 CPHA = 0 |
| SPIMode3 | 4 |
CPOL = 1 CPHA = 1 |
Super class PhidgetMBS
- 4 events
- event Attached
- event Detached
- event Error(errorCode as Integer, errorString as String)
- event PropertyChanged(propertyName as String)
- 44 properties
- property Attached as Boolean
- property Channel as Integer
- property ChannelClass as Integer
- property ChannelClassName as String
- property ChannelName as String
- property ChannelPersistence as Boolean New in 26.4
- property ChannelSubclass as Integer
- property ClientVersionMajor as Integer
- property ClientVersionMinor as Integer
- property DataInterval as UInt32
- property DataRate as Double
- 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 HubPortSpeed as UInt32
- property HubPortSupportsAutoSetSpeed as Boolean
- property HubPortSupportsSetSpeed as Boolean
- property IsChannel as Boolean
- property IsHubPortDevice as Boolean
- property IsLocal as Boolean
- property IsOpen as Boolean
- property IsRemote as Boolean
- property MaxDataInterval as UInt32
- property MaxDataRate as Double
- property MaxHubPortSpeed as UInt32
- property MeshMode as Integer
- property MinDataInterval as UInt32
- property MinDataRate as Double
- 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
- 10 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 reboot
- method writeDeviceLabel(deviceLabel as String)
- method writeFlash
- 3 shared properties
- shared property InstanceCount as Integer
- shared property LibraryVersion as String
- shared property LibraryVersionNumber as String
- 3 shared methods
- shared method finalize(flags as Integer = 0)
- shared method Poll
- shared method resetLibrary
- 320 constants
This class has no sub classes.
Blog Entries
Release notes
- Version 26.4
- Added PhidgetDataAdapterMBS class.
Some related classes:
The items on this page are in the following plugins: MBS Phidgets Plugin.
PhidgetCurrentOutputMBS - PhidgetDCMotorMBS