I have been trying to store some automation refs in LV6.1 globals, but when the VI is stopped then re-run the reference is no longer valid. It seems LabVIEW is destroying the objects between runs.
My VIs are going to be run in TestStand 2.1 and I plan to configure the instruments in one sequence then use them in another. I hope to keep various sub-refs (measurement objects etc) open between sequences, how can this be achieved? I tried adding more automation opens and setting the "open new instance" boolean input to FALSE on the consecutive automation opens, that does not work. I guess I could try holding the refs in TestStand, but to save time and head ache, has anyone worked around this before?
Any help much appreciated.
LV6.1, TS
2.1, NT4 - controlling Agilent PNA E8358A using 835x.tlb
Certified LabVIEW Architect