pyvisa / pyvisa-py

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

usbtmc: convert possible float to int #168

Closed mgubser closed 5 years ago

mgubser commented 5 years ago

libusb's control_transfer() requires an (unsigned) int as type of timeout. Or do we want to keep the float as long as possible and only convert it upon passing it to the mentioned function?