realbasic-nug
[Top] [All Lists]

Re:

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re:
From: Richard Altenburg <realbasic at brainchild dot nl>
Date: Sun, 30 Mar 2003 18:30:27 +0200
On 30-03-2003 17:22, "Frank Daniels" <daniels at metakonzept dot de> wrote:

>>> Currently, i´m playing around with my GPS and ran into a problem:
>>> 
>>> When I close my Port with serial1.close and try to re-Open via
>>> serial1.open the result is TRUE but no data is available... what am I
>>> missing??
>> 
>> Maybe you should, when you open the port, start a timer that runs the
>> SerialPort.Poll method frequently. This will cause the DataAvailable
>> method
>> of the serial port to do something whenever there is new data from
>> your GPS
>> coming in on the port.
>> 
>> 
> 
> 
> I tried that, but it does not work.... any other suggestions?

When you open the serial port, do you expect the GPS to output data right
away?

Is there something in the manual of the GPS about serial communications?

Maybe the device needs to get a command from your application first to know
that it has to send information out of its serial port.

Or does it work after the first SerialPort.Open, and not after you close and
then re-open it?

Please be specific and try to find some info about the communication
protocol of the GPS.


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>