Managed to fix ACCESS DENIED problem with serial port

  • Thread starter Thread starter David
  • Start date Start date
D

David

For anyone interested that read my original posting regarding problem
controlling 2 serial ports.

One of the ports was a USB - RS232 adaptor. I found that even though the
port was Closed in code
before applying the new coms settings, the actual port on the PC had not
closed by the time I went to
reopen the port.

The solution was to add a delay between closing the port and applying the
settings.
 
Back
Top