Hi BaJa,
get a list of all available COM ports, then read the interface number for each of them.
Now you have a list of COM ports vs. interface numbers and can easily reverse the relation…
What is the purpose of your question?
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019