Results 1 to 2 of 2
- 09-08-2003, 04:35 PM #1tymGuest
Ok - Here goes.
I've written a VB6 application which dials up a particular comms
device
and downloads data from it - ok - nothing to write home about there!!
Well...
Using a "normal" modem on my PC - everyting works just fine and dandy.
Set
MsComm1.Settings = "2400,e,7,1"
( Yes that's 2400... its an OLD device!!)
MsComm1.Handshaking = 2
RThreshold and SThreshold are both 1
RTSEnable = True
use OnComm to trap for activity and everything comes in sweetly
The problem arises when I try the same code using my laptop and my
Nokia 6310i.
As well as the CommEvent 1 and CommEvent 2 activities, I get a
CommEvent 3 occuring
(comEvCTS 3 Change in Clear To Send line. )
This appears to be stopping the data from being downloaded.
What it CommEvent 3 - why does it happen and why is it stopping the
data flow?
What can I do to get around it? -Is there anything?
Yours in anticipation...
Tym
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See http://www.ictis.net/no_spam.html for unsolicited email warning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tym
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See http://www.ictis.net/no_spam.html for unsolicited email warning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
› See More: Visual Basic Comms
- 09-10-2003, 06:31 AM #2tymGuest
Re: Visual Basic Comms
FURTHER INFO:
After testing a number of events I can elaborate futher thus...
Once the remote unit answers the call, CTS and DSR are set to true.
However, when the handshake is complete. the CTS is then set to FALSE
What does this mean? Do I have to wait for it to return to TRUE before
I can send my command? Is there a way to force it to TRUE?
On Sat, 16 Aug 2003 08:26:21 +0100, tym
<[email protected]> wrote:
>Ok - Here goes.
>
>I've written a VB6 application which dials up a particular comms
>device
>and downloads data from it - ok - nothing to write home about there!!
>
>Well...
>
>Using a "normal" modem on my PC - everyting works just fine and dandy.
>
>Set
>MsComm1.Settings = "2400,e,7,1"
>( Yes that's 2400... its an OLD device!!)
>MsComm1.Handshaking = 2
>RThreshold and SThreshold are both 1
>RTSEnable = True
>
>use OnComm to trap for activity and everything comes in sweetly
>
>The problem arises when I try the same code using my laptop and my
>Nokia 6310i.
>
>As well as the CommEvent 1 and CommEvent 2 activities, I get a
>CommEvent 3 occuring
>(comEvCTS 3 Change in Clear To Send line. )
>
>This appears to be stopping the data from being downloaded.
>
>What it CommEvent 3 - why does it happen and why is it stopping the
>data flow?
>
>What can I do to get around it? -Is there anything?
>
>Yours in anticipation...
>Tym
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>See http://www.ictis.net/no_spam.html for unsolicited email warning
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>Tym
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>See http://www.ictis.net/no_spam.html for unsolicited email warning
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tym
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See http://www.ictis.net/no_spam.html for unsolicited email warning
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Similar Threads
- Computers
- alt.cellular.ericsson
- alt.cellular.nokia
- alt.cellular.ericsson
What benefits does the Kindle e-book reader offer?
in Chit Chat