Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.pascal.delphi.misc > #713

Re: Serial port component, ComDrv32 vs SerialNG

From "P E Schoen" <paul@pstech-inc.com>
Newsgroups comp.lang.pascal.delphi.misc
Subject Re: Serial port component, ComDrv32 vs SerialNG
Date 2016-08-18 19:50 -0400
Organization A noiseless patient Spider
Message-ID <np5hji$pu6$1@dont-email.me> (permalink)
References <jprsdt$jlq$1@dont-email.me> <jpst27$3d2$1@speranza.aioe.org>

Show all headers | View raw


"S.G"  wrote in message news:jpst27$3d2$1@speranza.aioe.org...

> P E Schoen wrote:
>
>> Does anyone have experience with either of these components? Or recommend 
>> another?

> I have not even heard about either of those components, not ever.

> I have always thought and assumed that "everybody" developing with Delphi 
> and doing serial port communication use the old good Turbo Power Async Pro 
> package. http://sourceforge.net/projects/tpapro/

> All my serial communication is done with Asynch Pro for 10 years or more. 
> Nothing specially fancy though, fax machines, payment terminals, serial 
> printer tasks etc. only.

> You were talking something about critical sections and maybe threads, I 
> have never had to go there. But I see Asych Pro newsgroup has rather fresh 
> postings about them also.

I know this is an ancient thread, but I have experienced some new problems 
using SerialNG with Windows 10, and I was able to use the demo TTY 
application from ComDrv32 to verify that it works on Win10. However, after 
modifying my Ortmaster project to use ComDrv32 instead of SerialNG, it works 
on my Win8 machine but still has problems on Win10. The problems were 
noticed by a customer who upgraded a tablet from Win8.x to Win10, and the 
application no longer works. Thus it cannot be the hardware of the USB port 
used for CDC emulation, and is likely not in the BIOS.

On my Win10 Toshiba Satellite laptop, the application tries to test the 
serial port by sending test characters and expecting a certain response. But 
the application with the ComDrv32 component shows an error of BufferMax. The 
previous application with SerialNG gives the following error messages:

Msg start reactivating port
Error reopening port
Error cannot set queue size
Msg start reactivating port
Error getting overlapped result (19x)
Msg start deactivating port
Error setting Comm Timeout
Error writing data

I downloaded and installed the Async Pro package, but the demo Emulator.exe 
simple terminalprogram only seems to recognize COM2 and my device enumerates 
as COM16 on my Win8 machine.

Hopefully this newsgroup is still active enough to be useful. I've been away 
for a couple of years doing more work with PIC coding, Arduino coding, and 
electronics projects. I see that SED is still very active, although many of 
the discussions are political. I registered on the Embarcadero forum but 
that seems pretty inactive. The Delphi Pages forum 
(http://www.delphipages.com/) seems quite active, but although it shows that 
I have successfully registered, I can't post.

Thanks!

Paul 

Back to comp.lang.pascal.delphi.misc | Previous | NextPrevious in thread | Find similar


Thread

Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@peschoen.com> - 2012-05-26 20:27 -0400
  Re: Serial port component, ComDrv32 vs SerialNG Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2012-05-26 21:08 -0400
  Re: Serial port component, ComDrv32 vs SerialNG "S.G" <S.G@none.special.ch> - 2012-05-27 12:44 +0300
    Re: Serial port component, ComDrv32 vs SerialNG Marco van de Voort <marcov@turtle.stack.nl> - 2012-05-27 20:40 +0000
      Re: Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@peschoen.com> - 2012-05-27 22:29 -0400
        Re: Serial port component, ComDrv32 vs SerialNG "S.G" <S.G@none.special.ch> - 2012-05-28 08:55 +0200
          Re: Serial port component, ComDrv32 vs SerialNG Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2012-05-28 11:08 -0400
          Re: Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@peschoen.com> - 2012-05-29 00:31 -0400
            Re: Serial port component, ComDrv32 vs SerialNG Marco van de Voort <marcov@toad.stack.nl> - 2012-05-29 07:34 +0000
            Re: Serial port component, ComDrv32 vs SerialNG "S.G" <S.G@none.special.ch> - 2012-05-29 11:09 +0200
              Re: Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@peschoen.com> - 2012-05-29 06:20 -0400
                Re: Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@peschoen.com> - 2012-05-29 08:35 -0400
                Re: Serial port component, ComDrv32 vs SerialNG Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2012-05-29 11:43 -0400
                Re: Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@peschoen.com> - 2012-05-30 03:10 -0400
                Re: Serial port component, ComDrv32 vs SerialNG Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@charter.net> - 2012-05-30 11:01 -0400
    Re: Serial port component, ComDrv32 vs SerialNG "P E Schoen" <paul@pstech-inc.com> - 2016-08-18 19:50 -0400

csiph-web