Groups | Search | Server Info | Login | Register
Groups > comp.lang.pascal.delphi.misc > #715
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "P E Schoen" <paul@pstech-inc.com> |
| Newsgroups | comp.lang.pascal.delphi.misc |
| Subject | Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue |
| Date | Fri, 19 Aug 2016 03:58:01 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 2 |
| Message-ID | <np6e6g$37h$1@dont-email.me> (permalink) |
| References | <np68cv$irr$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; format=flowed; charset="iso-8859-1"; reply-type=response |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 19 Aug 2016 07:58:08 -0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="b1af19846bb81aaa3b3db89d0d6b1b2f"; logging-data="3313"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19j0r3JOfPyRG3S8GC6KTOAyySeW1f0H2E=" |
| X-MimeOLE | Produced By Microsoft MimeOLE V16.4.3564.1216 |
| In-Reply-To | <np68cv$irr$1@dont-email.me> |
| X-Newsreader | Microsoft Windows Live Mail 16.4.3564.1216 |
| Importance | Normal |
| Cancel-Lock | sha1:B/yBdr1/E+90yfr1NzEDWxeHAwo= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| Xref | csiph.com comp.lang.pascal.delphi.misc:715 |
Show key headers only | View raw
I mentioned elsewhere that I used TCriticalSections previously during the transfers from the ComDrv32 component input buffer to the larger CommBuffer, and also when processing the CommBuffer to detect and compensate for errors. This seemed to work for the SerialNG component, but for ComDrv32 it seemed to increase the errors. Removing them, I got some errors starting at 20 seconds as before, but after 700 seconds there are only 146 errors compared to nearly 1000 previously. There is probably a thread running to receive the characters into the COM16 file. I tried various settings for the serial port component with inconsistent results. What is consistent is that errors always start when the CommBuffer is nearly full and the data must be split to fill the buffer and then start again at the beginning. I may need to check my arithmetic. Paul
Back to comp.lang.pascal.delphi.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Delphi D4: using pointers to transfer data from COMM queue to circular queue "P E Schoen" <paul@pstech-inc.com> - 2016-08-19 02:19 -0400
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue "P E Schoen" <paul@pstech-inc.com> - 2016-08-19 03:58 -0400
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue "P E Schoen" <paul@pstech-inc.com> - 2016-08-19 04:42 -0400
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-08-19 12:34 +0200
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-08-19 12:30 +0200
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue "P E Schoen" <paul@pstech-inc.com> - 2016-08-19 20:54 -0400
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-08-20 12:43 +0200
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue "P E Schoen" <paul@pstech-inc.com> - 2016-08-20 19:15 -0400
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-08-21 12:50 +0200
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue "P E Schoen" <paul@pstech-inc.com> - 2016-08-22 07:12 -0400
Re: Delphi D4: using pointers to transfer data from COMM queue to circular queue Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-08-19 12:27 +0200
csiph-web