Read many of the posts here and manged to get "COM25" to display when I select COM port from VISA window.
However, VISA Interactive Control Window displays the following detailed description of the same port:
"ASRL25 (COM25 - MicroStrain Virtual COM Port)"
I need my LV app to display this detailed name.
Yes, I did also read the NI LV Tutorial on this topic, just did not gleen answer 😉
Solved! Go to Solution.
ASRL25 is part of the canonical name (i.e. ASRL1::INSTR) and the other information is how the port is listed in windows device manager. There's probably a way to get the information in the windows registry. You can get the canonical name with a VISA property node (Resource Name). You could also simply assign whatever you want as a VISA alias.
p.s. You want to learn how to post images. Your's are linked to your C drive. Use the Add Attachments and then use the 'Upload or insert an image' button on the toolbar.
If you wire a property node up to the VISA Reference you should be able to find the property Interface Information:Interface Description. This should give you the detailed name.
If that doesnt work for you there are various other techniques such as using some calls to the .NET framework or querying the registry (providing your on Windows).
I was able to do as you suggested, and wire up a property node and select the resource name.
However, it just gave me the com25, nothing more.
Any idea how I may read the detailed info from Windows some how??
I've only ever used the GeneralSettings.ResourceName and did not know this returned different information. Not sure when I would ever need it but it's good to know.