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 "initort 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.
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 "initort 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.