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
#3
Did your try without \r? AFAIK, only Windows uses \r\n as EOL sequence

One more thing I have noticed - you don't actually initialize parity attribute - it is not part of ser object, just a standalone variable - though this is the default value. And initializing all attributes during object creations looks like a proper way
ser = serial.Serial("COM4", 9600)
It looks that you use default values for the rest of parameters anyway - see the docs
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply


Messages In This Thread
RE: Pyserial Issues with Python3.7 and Fluke Multimeter - by volcano63 - Jul-06-2018, 08:36 PM

Forum Jump:

User Panel Messages

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