Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Carrier Detect dropped with Null Modem cable ?

Posted on 2001-07-10
5
305 Views
Last Modified: 2012-05-05
Hi... it'll probably jump out when I debug the code but has anyone got a 'must be' answer for the fact that my CD Holding has gone low even though I have a null modem cable attached to another RS-232 device. I know the cable is OK because i have used Terminal.exe (W3.x) and it works fine....

hope someone has an idea

Stu
0
Comment
Question by:nvms
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:inthedark
ID: 6270849
Is the a comm control question?  In which case what are your port/handshaking settings?
0
 

Author Comment

by:nvms
ID: 6271582
9600,N,8,1 None (the remote dial-up hardware does not have hardware handshaking)...  
0
 
LVL 17

Accepted Solution

by:
inthedark earned 50 total points
ID: 6271635
So how will you control flow betweem the systems:
comm1.handshaking=comNone ' or commxon/xoff

So how will you avoid buffer overflow ?

In the old days you could tell dos to ignore carrier detect in the settings like....
9600,N,8,1,CS0

But this is no longer documented.

0
 

Author Comment

by:nvms
ID: 6271764
Hi !! well for some reason CD is now being detected. Win 2000 being a bugger ? Anyway, I am using an Xmodem protocol (which I am about to post a query on) this sends 128 bytes at a time then waits for a ACK or NAK response. This avoids the problems with buffer overflow. Thanks for your comments..

Stewart

0
 
LVL 17

Expert Comment

by:inthedark
ID: 6272262
You send an invoice to Bill Gates re: language referrence ommissions.  If every body did this MS may be a bit more thorough when creating the documentation.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question