[Gambas-user] Help me!! I need to use Serial IN/OUT!!! :-(

Ken Schrock kschrock at ...149...
Thu Jun 12 15:05:48 CEST 2003

Dimitri Bellini wrote:

>	I try to use your "READ #File,Variable [ ,Length ]" but if i use Step by Step 
>"F8" work well if i Run with "F5" my App dont work well it seems that some 
>charatter still stay in buffer.
>Thanks for possible solution.
Both the exec and shell statements allow async operation
If you made a simple perl script that read tty input and output it to stdout
You could use the EXEC function to get the data without locking the app
(see the sample code in the exec section of the manual)

I also made a component for gambas that can read or write any port
But to use this for serial io you would have to know all about the various
Control and status registers involved in serial io and do handshaking 
Which, if you've never done it before, is not a simple task

>This SF.NET email is sponsored by: eBay
>Great deals on office technology -- on eBay now! Click here:
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net

More information about the User mailing list