Description
Description-Separate-1You can use the System Configuration API (Measurement I/O palette >> System Configuration) to find all available hardware resources connected to the system, see which of them are actually present, and then delete the ones that are not.
View attached VI for an example of this. See Remove Old VISA Resources from NI MAX and LabVIEW for more details.
Description-Separate-2