Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread Bo Berglund
On Wed, 21 Jun 2017 01:57:36 +0200, José Mejuto wrote: >> The problem I have is that it seems only to work for COM1 or COM3, as >> soon as I use a higher numbered port like COM33 then it fails. >> What have I missed here? >> Is serial only able to work with the low numbered ports (single >> digit

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread José Mejuto
El 21/06/2017 a las 1:37, Bo Berglund escribió: The problem I have is that it seems only to work for COM1 or COM3, as soon as I use a higher numbered port like COM33 then it fails. What have I missed here? Is serial only able to work with the low numbered ports (single digit)? Hello, COM port

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread Bo Berglund
On Tue, 20 Jun 2017 09:18:50 +, Mark Morgan Lloyd wrote: > >I tend to use the lower-level serial.pp unit. The patches I contributed >a couple of years ago specifically added a couple of read-with-timeout >functions. I'm back with a question: I used the serial example in the hardware access

Re: [fpc-pascal] ptccrt missing keys

2017-06-20 Thread Nikolay Nikolov
On 06/13/2017 02:56 AM, James Richters wrote: please be patient, it'll get there, maybe in a few week's time I will be happy to be patient 😊 Thank you for all your hard work on this! Ok, I've implemented implemented this. ptccrt now has a KeyMode variable, which can be set to these values:

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread Bo Berglund
On Tue, 20 Jun 2017 09:18:50 +, Mark Morgan Lloyd wrote: >I tend to use the lower-level serial.pp unit. The patches I contributed >a couple of years ago specifically added a couple of read-with-timeout >functions. > Mark, thanks for your input! I had a look at the serial unit and I found t

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-20 Thread Graeme Geldenhuys
On 2017-06-20 11:17, James Richters wrote: That will be a great help. Might I suggest mentioning the existence and use of Agg2D in agg_2D and vice versa? Something like: Ah yes, I forgot about that. I'll add it now. I also think you have made enough changes to it to warrant version number

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread Paulo Costa
On 20-Jun-17 10:45, Michael Schnell wrote: On 20.06.2017 11:18, Mark Morgan Lloyd wrote: I tend to use the lower-level serial.pp unit. The patches I contributed a couple of years ago specifically added a couple of read-with-timeout functions IMHO, freeing the user from the necessity to poll o

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread Michael Schnell
On 20.06.2017 11:18, Mark Morgan Lloyd wrote: I tend to use the lower-level serial.pp unit. The patches I contributed a couple of years ago specifically added a couple of read-with-timeout functions IMHO, freeing the user from the necessity to poll or do a thread to wait for serial events is

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-06-20 Thread James Richters
>I have applied such a change. So far only to the Agg2D and agg_2D units, but >I'll do the same to the rest of the units shortly. That will be a great help. Might I suggest mentioning the existence and use of Agg2D in agg_2D and vice versa? Something like: agg_2D This unit has NO graphical to

Re: [fpc-pascal] Serial to TCP gateway in FPC?

2017-06-20 Thread Mark Morgan Lloyd
On 20/06/17 06:45, Michael Schnell wrote: On 18.06.2017 18:16, Bo Berglund wrote:> No RS232 work with FPC/Lazarus> earlier and in Delphi I used AsyncPro components, but these are so> complex that one is lost amongst all properties to set...AsyncPro is free and easy to use but not perfectly bug-fr