• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

Serial port enumeration - I want to see only free/unused serial ports

Started by AntonL, October 03, 2015, 05:37:12 pm

Previous topic - Next topic

AntonL

 Is it possible to set that I will see only present and free serial ports in nrDeviceBox1 list.
Now I see in nrDeviceBox1 list of all connected ports, including used ones by some other applications.
When I try to open used port I get message for example "Device "COM4" Open Error !!!!"
Can you please help me how to solve this problem.

Roman Novgorodov

Hello

You need to try open every visible ports, handle possible exceptions and fill ordinary TComboBox control by com ports with no exception.
TnrDeviceBox does not provide such functionality. Sorry.

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.