Andre Posted March 23, 2017 Share Posted March 23, 2017 Good Day I am busy with a project were the comport needs to be detected automatically. I did the code by checking from Com Port 1 – 50 trying to connect to each port and requesting data. This works slowly but gets the job done. I was wondering if there was a way to request the connected Com Ports from windows and only checking the connected ones. Kind Regards Andre Link to comment Share on other sites More sharing options...
AzeoTech Posted March 23, 2017 Share Posted March 23, 2017 There should be, and I'm pretty sure someone else has done this in DAQFactory. You'll need to determine the Windows function to enumerate serial ports and then use extern() to import that function. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.