To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to programmatically open VISA resources based on the instrument name.
Description
Using the VISA Find Resources VI returns a list of VISA resources that do not provide any specific device information. If you have a VI that you would like to run on multiple computers the COM port of the instrument might change, and you would have to manually reselect the instrument. This VI programmatically selects the instrument based on a unique identifier chosen by the user. This way you don't have to search for the instrument if you change computers or COM ports.
Requirements
Software:
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.