Python Forum
Pyserial Issues with Python3.7 and Fluke Multimeter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyserial Issues with Python3.7 and Fluke Multimeter
#6
Quote:But, after some research, I found that 3.7 is not listed as a supported version, the latest supported version is 3.6. Going for the latest and the greatest Python version without checking compatibility may be a major problem (just had a person complaining in another forum about numpy misbehaving in 3.7 - turned out he has installed the version for 3.6)

I'm using Python 3.7 with numpy, numba, scipy, flask, pyserial, zmq, aiohttp, websockets, nidaqmx, multiprocessing, threading on Windows 10 in production. The only problem I have with pyserial is a dying port, but this happened also with Python 3.6. The com port I'm using is an integrated Arduino on the board. It should work also with other COM ports.

If you're able to open the port again, then send bytes and not a str.
ser.write(b'SENS:VOLT:RANG 10 \r\n')
or
ser.write('SENS:VOLT:RANG 10 \r\n'.encode())
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply


Messages In This Thread
RE: Pyserial Issues with Python3.7 and Fluke Multimeter - by DeaD_EyE - Jul-07-2018, 08:06 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020