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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM port in SQL program issue

Status
Not open for further replies.

csallee

Technical User
Dec 4, 2002
12
0
0
US
Hello everyone,
I am the project lead for a MS Foxpro 2.6 to SQL 2K upgrade and I am having a HW issue with some COM ports. I was hoping that you guys could help. I have the Compaq EVO desktops which come with 2 COM ports. I am running a homegrown application that we will use to process product. I have a scale, scanner and a Datamax label printer hooked up to the PC. I wanted to use LPT1 for my printer, but our program does not have that option (I didn't write the program), so I had to buy an additional COM card and hook it up that way. The problem I am having now is that if I exit the program and re-enter it I get a "init:port already in use" error. the only way I have found to fix it is to shutdown, unplug my scale and boot back up. The employees are not going to be able to have this option when it is deployed. Note: the scale sends data 100% of the time to the program. I need to figure out how to be able to shut off the port when I exit the program and have it reconnect when I open it. I have gone into device manager and verified that the ports are working correctly, but I could figure out how to shut them off when I exit. Any help would be GREATLY appreciated as the project is basically on hold until I can get this resolved.
Thank you in advance.
 
You may need to post this in a hardware forum. I see no reference to SQL Server in the thread. Good Luck!

Thanks

J. Kusch
 
the reason I chose this forum was because I am using a SQL 2K server with Win XP CPUs. I will post it up in there too.
Thank you,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top