mar...@stack.nl:

[Synapse/Synaser]
> How do you use it? I'm used to TComport, and it seems that synaser, like
> unit serial, only supports blocking use.

call Connect, call Config, call the appropriate reading and writing subroutines 
(like SendString and RecvPacket)...

> Do you put it in a thread?

You can, yes.

> I need it for a link that receives and sends at random, not related
> moments.

http://synapse.ararat.cz/doc/help/synaser.TBlockSerial.html

You may use RecvPacket with a timout and run a "polling" loop.


Vinzent.

-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to