MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

IOWarriorCarbonMBS.CountInterfaces as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 6.0, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Counts the number of interfaces.
Notes: Please email support if you need more functions to handle more than one device.
IOWarriorCarbonMBS.FirstInterfaceOfType(InterfaceType as integer) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 7.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Searches the first device of the given type.
Notes:
Returns 0 on any error.
This value is needed for WriteToInterface and ReadFromInterface calls.
IOWarriorCarbonMBS.Init as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 3.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Inits the device functions.
Notes: Return 0 if successfull.
IOWarriorCarbonMBS.InterfaceAtIndex(index as integer) as IOWarriorCarbonDeviceMBS
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 7.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The interface with the given index.
Notes:
Returns nil on any error.
Index is zero based and goes till CountInterfaces-1.
IOWarriorCarbonMBS.IsPresent as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 3.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Counts the devices found.
IOWarriorCarbonMBS.ReadFromInterface(InterfaceHandle as integer, reportID as integer, size as integer, data as memoryblock) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 7.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Writes bytes from the interface.
Notes: Size must match the device's report size.
IOWarriorCarbonMBS.ReadInterface0(byref int32 as integer) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 3.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Reads a 32bit value from interface 0.
IOWarriorCarbonMBS.ReadInterface1(reportid as integer, m as memoryblock) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 3.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Reads from interface 0.
IOWarriorCarbonMBS.WriteInterface0(value as integer) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 3.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Writes to interface 0.
IOWarriorCarbonMBS.WriteInterface1(reportid as integer, m as memoryblock) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 3.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Writes to interface 1.
IOWarriorCarbonMBS.WriteToInterface(InterfaceHandle as integer, size as integer, data as memoryblock) as integer
method, IO Warrior, MBS USB Plugin (IOWarriorMacOSX), class IOWarriorCarbonMBS,
Plugin version: 7.1, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Writes bytes to the interface.
Notes: Size must match the device's report size.

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




Links
Bilder aus Nickenich