Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 5th, 2007, 08:31 AM
Authorized User
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hyper Terminal Problems

Hello Friends,

I have created code,
which receives data from the comport form another sys

My program is working, but 20% of data are lost during
travelling from another sys to my system.

What is the exactly problmes with it.

I think it is a buffer error, but i chang it and try
againg but got same problems

If u know

Plz guide me,

Thanks in Advance

Adarsh Patel
computer_adarsh at yahoo dot co dot in

 
Old July 5th, 2007, 10:26 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I believe that there is a way to have the recieving machine tell the sending machine whther it is ready to receive more or not. It appears to me (given the limited info I have at this point) that your process is either too slow to handle the data coming, or is being hit with data when it is not ready.

A second issue might be that you need to force the receiving machine to prohibit other processes from gaining access to processor time while you are receiving.
 
Old July 7th, 2007, 08:30 PM
Authorized User
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your reply

Actually I have already developed hyper terminal program in visual basic 6, it receives data from comport 1, but opposite pc sends data at a very high speed, and I am using textbox to enter data

So textbox speed is slow, between this I lost my data.

So i want suggestion for this, how to solve this problem of lost of data in the buffer or in the processing.

Thank you very much again
Adarsh Patel

 
Old July 13th, 2007, 01:11 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 224
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to ashu_from_india Send a message via Yahoo to ashu_from_india
Default

hey adarsh

u need to sync b/w two machines to resolve this issue

firstly, sync the RThreshold and SThreshold (MSCOMM properties) for both the machines
then, implement Acknowledgement procedure so tht Sending machine can send next data only after receiving ACK from Receiving machine

it may be little slow but its effective

i hope it will help

ashu

 
Old July 17th, 2007, 03:04 AM
Authorized User
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much to all friends,

with the greatest support of you i have completed my hyper terminal

Thank you very much

sortly i will give my more detail to u

Thank you very much again
Adarsh Patel

 
Old July 19th, 2007, 02:48 AM
Authorized User
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you to all member who take part in my small development journay

i am from India
and studing MCA Sem-3
at Bhavnagar (Gujart)

Thanks
Adarsh Patel

 
Old August 6th, 2007, 01:15 AM
Authorized User
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear friends,
one problem i found during installation of the same program in windows xp,

my program is working well, but in windows xp
i have to set more protocol like
Ansi, Ansiw, vt100, vt100j, vt52 ...

how to set this protocol with my mscomm component.

Thanks
Adarsh Patel






Similar Threads
Thread Thread Starter Forum Replies Last Post
page 9. terminal - no directory scottfinchum BOOK: Beginning Mac OS X Programming 3 January 15th, 2007 10:58 AM
hyper link to gridview samir_katore .NET Framework 2.0 6 August 20th, 2006 10:38 PM
combo box insted of hyper link knight PHP Databases 2 March 29th, 2005 08:45 AM
Migration hyper File to SQL Server chanour2003 SQL Server 2000 0 June 19th, 2004 06:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.