Hi All,
This has been annoying me for a while but I have never bothered to look into it until now!
I have a VI that is used fo developing tests. I communicate with a serial device through com1.
The people using this VI regulary shutdown the VI without using the GUI and the shutdown button. On the next intialise a new comport port reference is instantiated and after a while this cna grow to be quite big so that it appears a list appears in the visa control,e.g.
com1
com1(1)
com1(2)
com1(3)
com1(4)
Also, see attached screenshot.
VISA FIND RESOURCE only shows the aliases and not the instances.
Is there a way that I can look at all the open references and close them all programmatically before initiating a new reference?
Thanks,
Sean