Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Serial port monitor
#1
hi, I would like to create a small software that can monitor data from ant to serial port.
In practice I have a hardware device that communicates with its software through the serial port, I would like to create a small tool to log (bidirectional) this communication.
I tried with pySerial, but if I try to open a serial port that is already in use by another software it gives me an error.
Can anyone help me?

Thanks in advance.
Reply
#2
Post your code in python tags.
You can handle the error using try/except block
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Serial toggles serial, but no data Saltwater 2 2,596 Sep-08-2019, 12:20 PM
Last Post: Saltwater

Forum Jump:

User Panel Messages

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