Advertisement

10.12.2008 at 04:57PM PDT, ID: 23808235 | Points: 500
[x]
Attachment Details

How to reset com port device in c# / .net / c++ ?

Asked by shmitnols in Computer Scanners by HP, .NET, C# Programming Language, Microsoft Visual C++.Net, Microsoft Visual C#.Net

Tags:

Hi,

I have an application which uses a hand held scanner connected to the com port. Periodically, the scanner will die, and the only way to get it working again is to restart the entire computer.

I want to write a c# windows service program that will monitor this comport and check if the device is dead, if it is reset the comport.

I do not know how to reset the com port, I tried using the System.IO.Ports.SerialPort class to open or close the com port, but that does not work, is there any way to actually kill or shut off the com port so anything connected to it will turn off? and then also be able to turn the com port back on?

Thanks in advance for any help or suggestionsStart Free Trial
 
Loading Advertisement...
 
[+][-]10.13.2008 at 05:38AM PDT, ID: 22701824

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.13.2008 at 08:36AM PDT, ID: 22703326

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.30.2008 at 08:30AM PDT, ID: 22842030

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.05.2008 at 12:05PM PST, ID: 22889186

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.05.2008 at 12:11PM PST, ID: 22889237

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.05.2008 at 03:18PM PST, ID: 22891140

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.06.2008 at 08:20AM PST, ID: 22896709

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.06.2008 at 10:28AM PST, ID: 22898034

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.12.2008 at 06:12AM PST, ID: 22939642

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.12.2008 at 12:10PM PST, ID: 22943607

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.14.2008 at 12:40AM PST, ID: 22957978

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628