[Gambas-user] Serial Port Problem
nando
nando_f at ...951...
Sat May 14 22:08:01 CEST 2005
I use a slightly modified version from the serial port example:
...
PUBLIC sub Write_Serial (a AS String)
IF Sport.status = Net.Inactive THEN
Message ("open port first")
ELSE
chkrts.Value = TRUE
WAIT 0.01
WRITE #Sport,a,Len(a)
WAIT 0.5
chkrts.Value = FALSE
ENDIF
...
The serial devices I use need RTS UP to accept the data
and then take that data and transmit it when RTS goes low.
(which is RS-232 exact use of RTS spec)
-Fernando
---------- Original Message -----------
From: Daniel Campos <daniel.campos at ...338...>
To: gambas-user at lists.sourceforge.net
Sent: Sat, 14 May 2005 21:55:29 +0200
Subject: Re: [Gambas-user] Serial Port Problem
> Can you send your code?
>
> Daniel
>
> nando escribió:
>
> >I am using the Serial Port Control.
> >
> >Sometimes, not often, I get a WRITE ERROR, which I find odd.
> >
> >The port is open.
> >
> >Any ideas why this would happen?
> >
> >-Fernando
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by Oracle Space Sweepstakes
> >Want to be the first software developer in space?
> >Enter now for the Oracle Space Sweepstakes!
> >http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> >_______________________________________________
> >Gambas-user mailing list
> >Gambas-user at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> >
> >
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_ids93&alloc_id281&opÌk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------
More information about the User
mailing list