Avatar of Irbis
Irbis
 asked on

windows 7 - reading serial port parameters

Let's assume that I run a program which reads/writes to a serial port (com3). I known that the program uses baud rate 19200 and dynamically sets parity bit (mark parity or space parity). When I use following command (cmd):
mode com3

Open in new window

during program execution I get following info: Device COM3 is not currently available.

 Is there any way to check serial port parameters in the "realtime" ?
Windows 7* rs232C++Powershell

Avatar of undefined
Last Comment
Tom Cieslik

8/22/2022 - Mon
bbao

is COM3 listed under Control Panel > Device Manager > Ports?
ASKER CERTIFIED SOLUTION
Tom Cieslik

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Irbis

ASKER
Yes, a device manager contains com3, but port settings show different values than the program sets, for example baud rate - 9600. Why ? When I stop the program and use command mode com3 it prints last values for that port configured by the program but I would like to check it in the "realtime".
Tom Cieslik

Windows is always showing 9200. This is default port setting.
This should not be a problem. I have many computer that are connected to Tiger Stop linear positioning machine and port in computer has default value 9200 but in TigerStop I have settings 19200 and all working perfectly normal.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Tom Cieslik

Best solution provided. No more other questions from author.