SerialIn switch to available Com port?

Hi there,

Struggling to find a solution to this:

Is there a way to have SerialIn’s Port value be switched to an available/connectable Com port (if that Com port number is unknown).

As Com port numbering is dynamic (on device connection), ideally I’d like to be able to have the script automatically switch to the first available Com port on startup.

How would this be possible?

Any help would be super appreciated!

Thanks,

Hey,

probably best to check on ways to do this in python:
stackoverflow.com/questions/120 … s#25539425

Then run it with a execute DAT on Start and set the COM Port in your serial DAT. But I’m unsure if you can test for availability of the port…

Best
Markus