[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:

>Hi
>	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 
yourself
Which, if you've never done it before, is not a simple task

>Dimitri
>
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by: eBay
>Great deals on office technology -- on eBay now! Click here:
>http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>  
>






More information about the User mailing list