Mar-16-2017, 01:30 PM
Without access to the .dll file or the unit it self, it's difficult to say what the .dll is doing. It seems to be telling you that what is being received is not what you think it is and Python does not know how to convert it to an integer. What happens if you leave "options" out of that line?
We also don't know what the unit is feeding the .dll, and how the usb is configured (just for example, the transfer method). A lot of questions need to be addressed and I'm not sure, without "seeing" what's in the .dll, that they can be answered.
We also don't know what the unit is feeding the .dll, and how the usb is configured (just for example, the transfer method). A lot of questions need to be addressed and I'm not sure, without "seeing" what's in the .dll, that they can be answered.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition