Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing visa resource control

Hi all,

I have a program that communicates to devices via a serial connection on a Mac machine (using a USB to RS-232 cable).

To select which port to onnect to, I've used the existing "VISA Resource" control that gives a drop-down list of available ports on the device. However, it seems to me that it does not refresh itself even after devices have been plugged or unplugged. The only way I can get a refreshed list is by closing the VI and then reopening it again. Is there a better way to do this?

Thanks!

cheers
0 Kudos
Message 1 of 2
(3,129 Views)
What happens when you press the refresh button which is available at the bottom of the drop-down menu? One thing you could try is to open up MAX and navigate to Software -> NI-VISA and select the tab for VISA Options. Then, choose Aliases under General Settings and add the alias. Let me know if that helps.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 2
(3,105 Views)