Am Sonntag, 30.03.03 um 19:51 Uhr schrieb REALbasic Network Users Group:
Subject: Re: Subject: Re: Subject: Serial Port
From: "Richard Altenburg" <realbasic at brainchild dot nl>
SNIP
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.
The GPS sends all the time (NMEA 0183 Standard 4800 8N1) and doesn´t
care if anyone is listening, i proved that with zTerm after quitting my
App in the IDE or the bulit app.... For the first time I open the Port
everything works perfectly, but when i close it an try to open again,
the result from serial.open ist true but no data is availabe (I put a
MsgBox in the data.available event wich only works if the Port was
formerly closed). I tried you suggetion with the serial.poll in a timer
but this did not work.....
.....so what ist exactly the point, am I missing something or is it a
Bug and I need to update (at last....)
Thanx,
Frank
---
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>
.
|