Overview
This example VI can be used to programmatically identify which COM ports are connected on your machine.
Description
First, the VI identifies each machine that is connected to the COM ports using the *IDN? command. The nested Case Structures in the VI can be used and modified to perform any desired actions based on the acquired information from the COM ports.
Requirements
- LabVIEW 2012 or later
- NI-VISA Driver
Steps to Implement or Execute Code
- Specify the Expected COM Port on the Front Panel
- Run the VI
Additional Information or References
VI Snippet


**This document has been updated to meet the current required format for the NI Code Exchange.**