I'm trying to capture sensor data from an http://www.magnet-physik.de/fileadmin/Mediendatenbank/1_Produkte/2_Messtechnik/Datenbl%C3%A4tter/HU_... USB-sensor.
My first idea was to do this with Node-Red.
Now I got conformation that the sensor is or not connected. But I didn't get any data out of it. I tried to do the same as in https://github.com/intel-iot-devkit/intel-iot-gateway/tree/master/Getting%20Started%20With%20Node-Re... this project what is very similar to mine. But the debug output shows "Error: Error: Invalid argument, calling write" Probably because my sensor is acting else than the sensor used in the example project.
That's why I start sniffing on the sensor data (connected to an Windows desktop for the test), and I god following packet captured:
Still not enough useful to me to determinate how I can work with the serial input from Node-Red, but maybe this information helps someone over here?
My second idea is to work with a python script. So I installed pyusb with an pip install. According to this Github manual, I tested the example script and end with an error "usb.core.NoBackendError: No backend available"
Did you check this thread? https://github.com/pyinstaller/pyinstaller/issues/1891
I think you will find some useful information there.
Take a look at https://www.intel.com/content/www/us/en/support/articles/000020775/boards-and-kits.html Shield Testing Report for Intel® Galileo Board, Intel® Galileo Gen 2... for "known issues for shields and sensors executed on an Intel® Galileo development board". I think that you'll have many problems if your sensor is not listed in that Report.