Is there a way around "USB" device communication without "Instrument Control" library?

4 vues (au cours des 30 derniers jours)
I am trying to communicate with a Cypress PSoC4 device using the "Cypress Bridge Controller", which is essentially a USB device.

Réponse acceptée

Star Strider
Star Strider le 16 Juin 2015
There might be.
First, search the Hardware Support page to see if a support package already exists. (While you’re at it, type webcam in the Command Window for directions on how to get the Webcam Support Package, just for fun!) Those can all be used with MATLAB, although some may require Simulink.
Otherwise, it depends on how the USB interface is configured. I have a few consumer biomedical devices (EKG, pulse oximeter) that have USB interfaces that I’ve used successfully with MATLAB without the Instrument Control Toolbox. I have Simulink, but they don’t require it.
When I plugged them in for the first time, I let Windows find drivers for them, then armed with that information, searched online for the USB interface chips, and found the PDF documentation that allowed me to communicate with them. (They created virtual serial ports.) I had to write my own communication routines, but the native MATLAB serial communication functions were adequate to let me communicate with them and download the signals and derivative information they acquired and transmitted.
It was actually fun for me, but then my definition of ‘fun’ is not universally shared!

Plus de réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by