xyphro / UsbGpib

Versatile, cheap and portable USB to GPIB converter (USBTMC class based)
MIT License
288 stars 51 forks source link

Changing settings. #56

Closed mariusCZ closed 9 months ago

mariusCZ commented 9 months ago

Hi, how would I change the settings of the adapter? Pyvisa library has no method for control_in so can't switch the adapter to receive commands. PyUSB has a control_transfer method, however, writing with PyUSB requires specifying and endpoint then. Could you please elaborate with what you change the settings? Thanks!

rjordans commented 9 months ago

55 has a solution using python-usbtmc, that worked fine for me

mariusCZ commented 9 months ago

Thanks!