[Lazarus] Usage of Serial in a testing program?

Giuliano Colla giuliano.colla at fastwebnet.it
Mon Sep 10 19:44:22 CEST 2018


Il 10/09/2018 17:30, Bo Berglund via Lazarus ha scritto:

> This seems only to deal with ports 1..9, what about the higher
> numbered ports 10..255?
> And would it not be a long execution time for testing all 255 possible
> com ports on Windows?
In my experience both Linux and Windows if you connect a new serial 
device do set a port number just higher than the previous one already there.
This means that you'll have to deal with higher numbers only if you have 
more than 9 serial lines in your platform, which is a bit unlikely. Not 
to consider the likelihood of a platform with 200 serial lines!

-- 
Do not do to others as you would have them do to you.They might have different tastes.



More information about the Lazarus mailing list