[Gambas-user] TERMINAL Application + Serial Port

Budi Arief Gusandi budi at ...415...
Thu Aug 5 04:41:51 CEST 2004


Hehehe Cool...thanks ;)

On Wed, 04 Aug 2004 17:22:29 +0200, Daniel <daniel.campos at ...338...>  
wrote:

> El mié, 04-08-2004 a las 09:12, Budi Arief Gusandi escribió:
>> Hi...
>>
>> I'm going to create Application for reading and writing to serial PORT  
>> run
>> on console only (Terminal).
>> 1. How can i activate COM Reading Event ? Is there any like WITH EVENT  
>> com
>> declaration like in VB. fe. DIM WITHEVENT MyCOMM as New SerialPort.
>
> Dim MyCOMM As SerialPort
>
> MyCOMM = New SerialPort As "MyCOMM"
>
> ...
>
> Public Sub MyCOMM_Read()
> 	...
> END
>
>>
>> 2. How to make the application not quit after executing all the code in
>> main module in console app. ?
>
> You have to create an infinite loop, like all common console
> applications that doesn't finish...
>
>
>>
>> Thanks
>>
>> Budi
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Best Regards,

Budi Arief Gusandi
IT Manager
PT. Suar Reka Informatika
Bandung - West Java
Indonesia     




More information about the User mailing list