Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Automatic VISA resource name COM port assignment

$
0
0

Hi,

I connect two external USB devices (one IR sensor and one GPS) which I sample with Visa Read. Is there any clever way to assign the devices the correct COM port number programatically? I figured I could use the error output to reassign the recource name in a loop, but that isn't a particularly elegant method. Is there a better option out there?

 

Can I maybe ping each COM port some how and get some clue on which of the devices that is connected to it?

 

Thank you,

Josefin


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>