Hyperterminal problems


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Hyperterminal problems
# 8  
Old 07-11-2007
I have no problem of sending data, i have problems of receiving data, because of buffer limit or textbox limit

Sending is successful

now i am checking for richtextbox for the same my code

if you have another choice except textbox and richtextbox please tell me.

Thanks,
# 9  
Old 07-11-2007
The stop bit is sent by the receiving system to tell the sending system to stop sending.
Consider this:
You are filling a pail of water from a garden hose that is 100 feet from the tap, how soon do you have to leave the pail to turn the water off so that the pail is not overfilled?
# 10  
Old 07-11-2007
Quote:
Originally Posted by jgt
The stop bit is sent by the receiving system to tell the sending system to stop sending.
No, the stop bit is just part of the encoding of a single character. A character comprises..

1. start bit
2. seven or eight bits starting with bit zero
3. parity bit if required
4. one, one and a half or two stop bits

I think you are refering to X-on/X-off (ctrl-S/ctrl-Q) and this may either be handled by serial application code or the driver itself.
# 11  
Old 07-11-2007
Porter, you're right, poor choice of words, but he did say that he created his own code, and that his program is more or less working, so maybe we should ask him what language this is all written in?

Jack
# 12  
Old 07-11-2007
Thanks for your reply,

I have created this software in Visual Basic 6.

now my program is working about 90% but 10% I lost data. as follow

for example opposite pc sends below data
101 101 202 302 302
102 1232 2323 323 323
103 12 12 12 12
104 101 202 302 302
105 1232 2323 323 323
106 12 12 12 12
107 101 202 302 302
108 1232 2323 323 323
109 12 12 12 12
110 101 202 302 302
111 1232 2323 323 323
112 12 12 12 12

and my program can add data like below
101 101 202 302 302
102 1232 2323 323 323
103 12 12 12 12
104 101 202 302 302
232 2323 323 323
106 12 12 12 12
107 101 202 302 302
109 12 12 12 12
110 101 202 302 302
1232 2323 323 323
112 12 12 12 12


So my program is missing 10% lines due to slowly adding of text in to textbox or richtextbox.

Please guid me what to do for this.

Thanks,
Adarsh Patel
# 13  
Old 07-11-2007
The Win32 APIs GetCommState and SetCommState will let to change the flow control handling of a serial connection. Of course both parties on either end of the serial cable need to be using the same flow control mechanism.
# 14  
Old 07-12-2007
Ok I will check for this api and will post

Thank you
Adarsh Patel
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

No prompt from Solaris to WinXP Hyperterminal

hi I am new to unix and have found a SPARCstation 5 in the shed. I'm told by my father that it was working when it was put there about 8 years ago. It seems to boot up and makes all the right noises, both discs appear to make a noise, the keyboard lights flash etc., etc., but i can't seem to get... (2 Replies)
Discussion started by: harrystrickland
2 Replies

2. Solaris

conecting to t5120 with hyperterminal....

greetings. im a very new user to solaris (and to servers for that matter) and i need to conect to a t5120 sun server, i tried using the SER-MGT port on the back of the server, then to a rj-45/db-9 adaptor, and to a serial-usb adaptor (my laptop doesn't have a com port). when i try to conect with... (2 Replies)
Discussion started by: darklilith
2 Replies

3. UNIX for Dummies Questions & Answers

problems with If

I'm having problems uses "if" it works fine when i do this. #!/bin/sh a= 10 qw= 2 w= 20 { if && ;then echo 3 fi } However if i try to do #!/bin/sh a= 10 (5 Replies)
Discussion started by: THM
5 Replies

4. Solaris

hyperterminal serial solaris 8

Hi All, I connected my serial connection to the installation of solaris 8 and sorry to tell you I use XP/hyperterminal, don't get mad on me... I might use ubuntu later. When I'm installing it, it's ask me below: What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT52 ... (3 Replies)
Discussion started by: itik
3 Replies

5. Solaris

Solaris Hyperterminal

Hi all, I currently have my WinXP machine connected to my Sun server via serial cable then hyperterminal. I would like to connect my Solaris 10 machine to the server via serial cable but there doesn't appear to be a hyperterminal application included with Solaris 10. Anyone know of a... (3 Replies)
Discussion started by: bad-ash
3 Replies

6. UNIX for Dummies Questions & Answers

Few problems

Hi how can i do this? 1) shell script which writes data and time on to a file if filesystem exceeds 70% of space. 2) make entry to cron table to run a script every 15 mins. and can anyone expplain or demonstrate the difference between variables used in inside a function and outside a... (3 Replies)
Discussion started by: vivekshankar
3 Replies

7. UNIX for Dummies Questions & Answers

Hyperterminal null modem connection to Solaris

I am new to Unix. I just got my SUN box from ebay with Solaris supposedly preloaded. The problem is I am unable to connect via Hyperterminal to Solaris, or more to the point, cannot tell if I have a successful connection and that solaris is the one not properly booted up. I hooked up a null... (3 Replies)
Discussion started by: seethams
3 Replies

8. UNIX for Advanced & Expert Users

'make' problems (compliation problems?)

I'm trying to compile and install both most recent version of 'make' and the most recent version of 'openssh' on my Sparc20. I've run into the following problems... and I don't know what they mean. Can someone please help me resolve these issues? I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies

9. UNIX for Dummies Questions & Answers

Hyperterminal

Dear all, I unable to connect my sun machnie through hyperterminal . when I am trying , the screen (hyperterminal )shows all the key letters (like !@#$%^ ... 12345.... abcd...ABCD..) but i unable get login screen. Sun ultra enterprise 3000 / serial port cable 9-9 pin. can any one... (4 Replies)
Discussion started by: sbaloo
4 Replies
Login or Register to Ask a Question