Platforms to show: All Mac Windows Linux Cross-Platform
MacHIDMBS.DeviceRemoved(result as Integer)
Function:
The event called whenever the device is removed.
Notes: You need to call connect to install the callback which raises this event.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | USB | MBS USB Plugin | 8.7 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Notes: You need to call connect to install the callback which raises this event.
MacHIDMBS.ReceivedData(data as string, size as Integer)
Function:
Data was received and is available for processing.
Example:
Notes:
Event is only called when InstallCallback was used and a connection is open.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | USB | MBS USB Plugin | 6.4 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Example:
Sub ReceivedData(data as string, size as Integer)
dim m as MemoryBlock
dim s as string
dim n,i as Integer
// Debug Output data received:
m=data
n=lenb(data)-1
for i=0 to n
s=s+str(m.Byte(i))+" "
next
s=s+"= "+data
System.DebugLog s
End Sub
The items on this page are in the following plugins: MBS USB Plugin.

Links
MBS Xojo Chart Plugins