Windows XP
--
Questions
--
Followers
Top Experts
Delphi 7 XP prof.
Hi -
I'm using the free Tcomport component for Delphi. Although I do not usually have problems, there is one bugbear that I cant seem to solve.
If you have a couple of USB serial converters connected to the PC, sometimes there is a problem with port initialisation.
Is there a simple way to find out which Comport belongs to which external USB-serial device?
How does the allocation of these devices occur?
What exactly is the meaning of Purgecomm function failed?
Thanks,
Chris
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
What you got hooked can be seen with System Information.
Allocation is an automatic process done by Windows.
Â
Other serial port systems such as USB are very complicated in their operation and extremely fragile in an industrial environment.
I can understand a serial port down to the register level inside the chip. I would have to spend a lot of time to get that acquainted with USB!!!
Chris
@chris: figuring out what physical connector is what comport is hard. Why do you want to achieve this?
Are you using the open source TComport?






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Because the system has a serial printer and a serial weigher running from a laptop (which unfortunately does not have any internal standard RS232 ports) The problem is that the user may connect the USB converters in any configuration and be presented with a choice of maybe 4 ports (e.g. internal modem
etc). I will probably look for a serial stream of data (another problem!!!) to identify the weigher.
Yes I'm using Tcomport.
Chris
Oh for the days when you could understand the workings of a computer! Now you have to have a Phd in USBology to understand just one small facet!
Chris

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Windows XP
--
Questions
--
Followers
Top Experts
Microsoft Windows XP is the sixth release of the NT series of operating systems, and was the first to be marketed in a variety of editions: XP Home and XP Professional, designed for business and power users. The advanced features in XP Professional are generally disabled in Home Edition, but are there and can be activated. There were two 64-bit editions, an embedded edition and a tablet edition.