Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Use COMM PORT in 2000/XP ?

Status
Not open for further replies.

Pontelo

Programmer
Dec 18, 2001
80
BR
I have an utility ( in DOS ) that uses COMM port directly. When I try to run, XP gives the message "The System Could Not Open the Port". The options are Close and Ignore. Chooseing Ignore will run the utility but it has no acces to COM1. What can I do to have acces to COMM Ports in Windows XP ?
 
What kind of utility is that? an application written in clipper?

If so, first go to dos prompt and do the following:
c:\>Mode com1 (hit enter)

you will see a system message about com1....

Now do the following:
c:\>mode com1: 12,n,8,1 (hit enter)
c:\>echo atz > com1 (initialize the modem)
c:\>echo atdt15551212,,, > com1 (hit enter)
You should either hear a dial tone or illegal port or nothing.

to hang up
c:\>echo ath > com1 (enter)

if it dials, then there is a setup problem with your app. if not, check the Modem and Com property in the system setting in the control panel.

Good luck

AK
 
AK Thak You for your Tip. Was really usefull.
After sending mode command i noticed that COM1 was deaf and dumb (even being installed in Device Manager). I uninstall COM1, reboot, XP reinstall it again and the COM1 and its OK.
( the utility is a kind of setup for Fiscal Printer - a device used here in Brazil to store sells and taxes ) I suppose it is written in C (not clipper for sure).
 
Pontelo... I am just wondering. Is your modem internal? That is a little wierd. cauze usually you have an RS232 Port which is COM1. Now, you might have the Modem setup on that port and it is sharing the port. Try changing the Modem to a different port and see it it works.
Sometimes, (the Modem), has a seutp utility that allows you to do so. If not, Try to do it manually.
See how many free ports you have and try to assign a free one the Modem

Remember
Com1 IRQ4
Com2 IRQ2
etc...

Important: Some modem do not have DOS Support and they are strictly WinModem. If you really need it to work. Get you an ISA modem (Jumpered) I recommend, 3COM You can still find them

Good luck
AK
 
AK
I´m using COM1 for serial communications, not modem.
In my machine I have only COM1 (on board) Add. 3F8 IRQ4 as phisical serial port. I Have a PCI Modem too (Lucent), but the utility i referred uses COM1. The problem were it was not opening COM1. I thought was a DOS x XT problem. To communicate with Fiscal Printer I mentioned before, my Clipper App. uses a resident driver. Now is functioning OK, I´m sending and receiving commands from the device.
 
I have a problem with the use of Serial 1 & 2 for external modems on some Mother Boards using Win98. The Com ports are not being detected within Windows when I try to communicate with my Clipper program. We use Silver Clip. However, if you booth the computer with DOS 6.2, the Com Port is imidiately reconized. Does anyone have a solution to this problem?
 
Does any one know of a PCI or AMR modem that I can use that will work with any Clipper communication utility under Windows?
 
PCTEL Modems work for me, also, or US robotics, always works. But, I use telepathy library from Extrasensory.com AK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top