I wrote a nice little program that looks for PXI VISA resources, determines if it is a PXI-2503, and gets it's slot #, which works but each time thru the for-loop, LabVIEW hangs, uses 3-10 MBytes of RAM, then continues. Even if the code run's in the background (and finishes), clicking on the LabVIEW panel causes the hang/RAM cycle again.
In debugging the problem, I simplified the code (bug.vi) where it only hangs when the code is finished.