PyUSB: reading from a USB device

后端 未结 5 1518
攒了一身酷
攒了一身酷 2021-01-22 10:36

This is an updated and shortened question.

Communicating with a USB-device should be easy via PyUSB. So, I\'m trying to read from a USB-device (oscilloscope) using PyUSB

5条回答
  •  醉话见心
    2021-01-22 11:00

    msg = '*IDN?'

    This is not a complete SCPI command: It is missing the newline \n character at the end.

    That is also why the device was not able to send an answer via USB.

提交回复
热议问题