
Ret = library.viRead(session, buffer, count, byref(return_count))įile "TestThorlabsMFF102MShutter.py", line 89, inįile "TestThorlabsMFF102MShutter.py", line 70, in setPositionįile "TestThorlabsMFF102MShutter.py", line 79, in getPosition Reading a predetermined number of bytes from a serial device (using read_raw) appears to throw an exception if the read succeeds:Ĭ:\Users\ra-arcf20\sidney\WinPython-64bit-3.3.5.0\python-3.3.5.amd64\lib\site-paĬkages\pyvisa\ctwrapper\functions.py:1569: VisaIOWarning: VI_SUCCESS_MAX_CNT (StĪtusCode.success_max_count_read): The number of bytes transferred is equal to thĮ requested input count.


I am implementing a binary protocol over a serial port.
