Unable to send data on comm port 
Author Message
 Unable to send data on comm port

Hi,

i'm trying to send data on comm port 1 in Microsoft Embedded Visual Basic 3
and the simulation enviroment.

Receiving is no problem, but when i send one character to the output
property of the comm-control,
nothing is send and the simulator hangs.

Is this a bug of eVB ? Or problem with Windows2000 SP2 (German) ?

Best regards
Stephan



Fri, 30 Apr 2004 18:17:42 GMT  
 Unable to send data on comm port
If I were to guess (and that's what this is), it's probably an emulator
issue.  Have you tried the code with a physical device?

Chris


Quote:
> Hi,

> i'm trying to send data on comm port 1 in Microsoft Embedded Visual Basic
3
> and the simulation enviroment.

> Receiving is no problem, but when i send one character to the output
> property of the comm-control,
> nothing is send and the simulator hangs.

> Is this a bug of eVB ? Or problem with Windows2000 SP2 (German) ?

> Best regards
> Stephan



Sat, 01 May 2004 01:13:46 GMT  
 Unable to send data on comm port
As I understand it, the emulator (simulator) doesn't have a comm port.
That's not to say that what you're attempting won't work on an actual device.
Quote:

> Hi,

> i'm trying to send data on comm port 1 in Microsoft Embedded Visual Basic 3
> and the simulation enviroment.

> Receiving is no problem, but when i send one character to the output
> property of the comm-control,
> nothing is send and the simulator hangs.

> Is this a bug of eVB ? Or problem with Windows2000 SP2 (German) ?

> Best regards
> Stephan



Sat, 01 May 2004 05:54:37 GMT  
 Unable to send data on comm port
Hi ,
i aslo had the Same Problem.
but i found the Solution from MS url.

in my case it was working fine. but i have written the
code in eVC++.[Used emulator.]

i think the Follwing link will help u.

http://support.microsoft.com/support/kb/articles/Q266/2/36.
ASP?LN=EN-US&SD=gn&FR=0&qry=kbVCeMb%20kbVBeMbSearch%
20&rnk=66&src=DHCS_MSPSS_gn_SRCH&SPR=MSALL

Thaknx for ur Time.

Ruban

Quote:
>-----Original Message-----
>Hi,

>i'm trying to send data on comm port 1 in Microsoft

Embedded Visual Basic 3
Quote:
>and the simulation enviroment.

>Receiving is no problem, but when i send one character to
the output
>property of the comm-control,
>nothing is send and the simulator hangs.

>Is this a bug of eVB ? Or problem with Windows2000 SP2
(German) ?
>Can you send me a tested example (please to:


Quote:

>Best regards
>Stephan

>.



Fri, 14 May 2004 14:42:09 GMT  
 Unable to send data on comm port
I had the same problem with the control in the emulator. My code worked fine on
a PocketPC but hung in the emulator.

I noticed that transmitted chars would only be sent AFTER a char came in the
receive buffer. I'm developing a client/server app with VB6 on the server side
I was able to send chr(0) chars a few times a second from the server and filter
them out of the receive buffer in the emulator. I set a boolean in the server
to indicate whether I am talking with the emulator or the real thing. I also

rate) the transmit buffer in the emulator would release its characters. A full
handshake null modem is required (to pass the toggling CTS control signal).
This is the technique I currently use since I don't have to worry about the
filtering (you have to be careful not to filter out valid chr(0) chars).
I was considering writing a eVC dll to do the comms but haven't gotten that
far. When I figured out this simple solution I went back to work. It was
driving me crazy having to uncradle my pocket pc after a new code upload, hook
up my serial cable, test the new code, unplug and resynch back in the cradle.
After a couple dozen times you wonder if its all worth the aggravation!

If anyone has an eVC comm dll please let me know as this solution is good only
if you are writing both sides of the conversation.

John Matter
______________________
Matter Systems
www.mattersystems.com



Sat, 15 May 2004 12:08:55 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Sending data to a comm port that is in use

2. Sending CTRL key to a comm port?!

3. opening and sending BINARY to a comm port.

4. How send BYTES down comm port

5. How do i send a hex value to the comm port

6. Getting data from Comm Port

7. Need help reading data from comm port

8. reading binary data from a comm port

9. Getting Data from Serial Port using Comm Control

10. Getting Data from Serial Port using Comm Control

11. Getting Data from Serial Port using Comm Control

12. capture data from comm port producing erratic results

 

 
Powered by phpBB® Forum Software