1

How can I view which properties an open serial connection has? So the baud, start and stop bits, the parity, the number of data bits and especially how the to be transmitted string is terminated (line feed, and so on)

Or is there a windows-tool for?

2
  • in what windows? or
    – DevZer0
    Jun 13, 2013 at 8:56
  • Oh sorry, I've forgotten. I need a solution for Windows.
    – CrazyMetal
    Jun 13, 2013 at 9:01

2 Answers 2

3

It isn't very clear from the question but I have to assume that some other program is using the port. Which stops you from opening the port, required to get the settings. Serial ports cannot be shared. You can do so after the program closes the port, but there are non-zero odds that it restores the settings.

The best way is to use the free SysInternals' Portmon utility. It installs a filter driver that snoops on the serial port driver. You'll see everything the program does, including initializing the port.

2
  • Yes an other program is using the port and I've to know the settings. Portmon Utiltiy looks very good, do you know if there a 64-Bit-Version?
    – CrazyMetal
    Jun 13, 2013 at 9:23
  • Sadly there is not, I have done this search my self and I could not find any free tool that has a 64 bit driver. What I ended up doing is forwarding the serial port to a VM running a 32 bit windows and running my program and PortMon inside the VM. Jun 14, 2013 at 14:45
0

Yes, you can use PuTTY for this and connect with PuTTY to the serial port and set the baud rate, start and stop bits and such with PuTTY when you connect to the serial port of a device using PuTTY.

2
  • 1
    Not really. I've to know the port-settings an other software is using.
    – CrazyMetal
    Jun 13, 2013 at 9:24
  • Doesn't PuTTY fail if another program is already using the serial port in question? And doesn't PuTTY try to force its own settings otherwise? Apr 6, 2018 at 16:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .