LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA resource help

Over the last year I have been using a number of USB components that, to LabVIEW, look like COM ports.

My VISA Resource name now has 150 COM ports listed

Even though I only have 3 listen in MAX. Is there a way to clean out the VISA Resource pull down menu,

or have it list just then COM ports names that are in MAX?

0 Kudos
Message 1 of 6
(2,865 Views)
Right click the VISA resource control and select I/O filtering.
Under the general tab, the alias box should be check marked.  Select "Only for resources that VISA finds".
0 Kudos
Message 2 of 6
(2,855 Views)
   

I should have clarified and I am sorry

I need to do this in LV 7.1 and 7.0 as well.

There is no I/O filtering in 7.1 or 7.0

0 Kudos
Message 3 of 6
(2,849 Views)
Go old school and manually fix the visa ini file at in C:\VXIPNP\WinNT\NIvisa
the file is visaconf.ini

under the [aliases] section you can remove old resources - make sure the Numalias value gets changed to reflect the new number.  Save a backup first, and do this w/ MAX and LV closed.  You can even delete the whole file, open MAX and F5 to rebuild it.

0 Kudos
Message 4 of 6
(2,838 Views)
To clean everything out, with MAX closed, you can delete the file called visaconf.ini (c:\VXIpnp\WinNT\NIVisa if I remember correctly), then start MAX and do a refresh.
0 Kudos
Message 5 of 6
(2,837 Views)
Thanks that solved the problem
0 Kudos
Message 6 of 6
(2,802 Views)