Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202521

NI Visa Com Port assignment

$
0
0

Hello Labview Users,

 

I have three separate devices in my system that all use Visa VI's. Each of these three devices are assigned COM ports when the USB connection is plugged in. Sometimes when the device is power cycled windows assigns a different com port number to one of the devices. What i would like to do in my code is assign a specific and unique alias to each device and reference that alias when i asynchronously open and close visa sessions for the three devices connected. If the aliases remain the same when i power cycle and i reference that alias in my code when i try to configure the Com ports then during a power cycle it wont matter if the com port numbers have been modified. Is there a way i can accomplish this using labview ?

 

thanks


Viewing all articles
Browse latest Browse all 202521

Trending Articles



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