pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
288 stars 124 forks source link

USB Raw devices #18

Closed t-kopp closed 9 years ago

t-kopp commented 9 years ago

USB Raw devices don't seem to be supported at the moment. Is this just some bug I don't see or is there something missing? If the latter is the case I'll iron out a couple issues with my locally working solution and submit it as a PR

Edit: I've seen a couple devices out there which simply had 1 Bulk in and one out, which is what I would target to add

hgrecco commented 9 years ago

They are not supported right now. It is a bug: lack of time of the developers :-D It would be great if you can submit a PR. Remeber to register the Session class that you create using the following decorator:

@Session.register(constants.InterfaceType.usb, 'RAW')
t-kopp commented 9 years ago

yes, currently did it dirty by replacing INSTR support :S will clean that up and come back to you

hgrecco commented 9 years ago

Mereged in #19