USB Comunication Toolbox for scilab-5.3.3
BULK with libusb-1.0 Library
BULK Basic's commands
bulk_close
—
Close an USB Device Opened
bulk_exit
—
This function frees all of the static data associated with Libusb-1.0.
bulk_init
—
Initializes the Libusb-1.0 Library
bulk_open
—
Open a USB Device
bulk_read
—
Read or receive a buffer from an USB Device
bulk_read_timeout
—
Read or receive a buffer from an USB Device with timeout
bulk_write
—
Write or transfer a buffer to an USB Device
bulk_write_timeout
—
Write or transfer a buffer to an USB Device
BULK Device Strings
bulk_get_manufacturer
—
Get The Manufacturer String from a USB device.
bulk_get_product
—
Get The Product String from a USB device.
bulk_get_serial
—
Get The Serial Number String from a USB device.
bulk_get_string
—
Get a string from a USB device, based on its string index.
Data Buffers
clearBuffValue
—
Clean specific position of a buffer of data unsigned integer of 8 bits
init_buff
—
Initialize a buffer of unsigned integer of 8 bits full of zeros
setBuffValue
—
Set specific position of a buffer of data unsigned integer of 8 bits
HIDAPI Library
HID Basic's commands
hid_close
—
Close an USB HID Device Opened
hid_exit
—
This function frees all of the static data associated with HIDAPI.
hid_init
—
Initializes the HIDAPI Library
hid_open
—
Open a USB HID Device
hid_read
—
Read or receive a buffer from an USB HID Device
hid_read_timeout
—
Read or receive a buffer from an USB HID Device with timeout
hid_set_nonblocking
—
Block or unblock the reading process
hid_write
—
Write or transfer a buffer to an USB HID Device
HID Device Enumeration
hid_enumerate
—
Enumerate the HID Devices.
hid_free_enumeration
—
Free an enumeration Linked List
hid_get_device_string
—
Get the VendorID and ProductID of the actual Hid Device enumerated
hid_next_device
—
Change the actual Hid Device enumerated for the next one
HID Device Reports
hid_get_feature_report
—
Get a feature report from a HID device.
hid_send_feature_report
—
Send a Feature report to the device.
HID Device Strings
hid_get_manufacturer
—
Get The Manufacturer String from a HID device.
hid_get_product
—
Get The Product String from a HID device.
hid_get_serial
—
Get The Serial Number String from a HID device.
hid_get_string
—
Get a string from a HID device, based on its string index.
Microchip MCU 18F4550 Example
MCU
—
Microchip MCU PIC18F4550 Example
Scilab Macros
USB Basic's commands
closeusb
—
Scilab macro's for hid_close
exitusb
—
Scilab macro's for hid_exit
initusb
—
Scilab macro's for hid_init
openusb
—
Scilab macro's for hid_open
read_timeoutusb
—
Scilab macro's for hid_read_timeout
readusb
—
Scilab macro's for hid_read
write_timeoutusb
—
Scilab macro's for bulk_write_timeout
writeusb
—
Scilab macro's for hid_write
USB Device Enumeration
enumerateusb
—
Enumerate the HID Devices
free_enumerationusb
—
Free an enumeration Linked List
get_device_stringusb
—
Get the VendorID and ProductID of the actual Hid Device enumerated
next_deviceusb
—
Change the actual Hid Device enumerated for the next one
USB Device Strings
get_manufacturerusb
—
Get The Manufacturer String from a USB device.
get_productusb
—
Get The Product String from a USB device.
get_serialusb
—
Get The Serial Number String from a USB device.
get_stringusb
—
Get a string from a USB device, based on its string index.