Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

IOWarriorCarbonMBS.CountInterfaces as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 6.0 Yes No No Yes, macOS only No
Function: Counts the number of interfaces.
Notes: Please email support if you need more functions to handle more than one device.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.FirstInterfaceOfType(InterfaceType as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 7.1 Yes No No Yes, macOS only No
Function: Searches the first device of the given type.
Notes:
Returns 0 on any error.
This value is needed for WriteToInterface and ReadFromInterface calls.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.Init as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 3.3 Yes No No Yes, macOS only No
Function: Inits the device functions.
Notes: Return 0 if successfull.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.InterfaceAtIndex(index as Integer) as IOWarriorCarbonDeviceMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 7.1 Yes No No Yes, macOS only No
Function: The interface with the given index.
Notes:
Returns nil on any error.
Index is zero based and goes till CountInterfaces-1.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.IsPresent as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 3.3 Yes No No Yes, macOS only No
Function: Counts the devices found.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.ReadFromInterface(InterfaceHandle as Integer, reportID as Integer, size as Integer, data as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 7.1 Yes No No Yes, macOS only No
Function: Writes bytes from the interface.
Notes: Size must match the device's report size.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.ReadInterface0(byref int32 as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 3.3 Yes No No Yes, macOS only No
Function: Reads a 32bit value from interface 0.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.ReadInterface1(reportid as Integer, m as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 3.3 Yes No No Yes, macOS only No
Function: Reads from interface 0.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.WriteInterface0(value as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 3.3 Yes No No Yes, macOS only No
Function: Writes to interface 0.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.WriteInterface1(reportid as Integer, m as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 3.3 Yes No No Yes, macOS only No
Function: Writes to interface 1.

Feedback, Comments & Corrections

IOWarriorCarbonMBS.WriteToInterface(InterfaceHandle as Integer, size as Integer, data as memoryblock) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method IO Warrior MBS USB Plugin 7.1 Yes No No Yes, macOS only No
Function: Writes bytes to the interface.
Notes: Size must match the device's report size.

Feedback, Comments & Corrections

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




Links
MBS Xojo Plugins