LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I pass a Vi reference back to TestStand

From TestStand, I call a first VI which launchs a second one and get back its VI reference as an output parameter.
Then, later I try to use this VI reference with an invoke node.
I have the error " Invoke Node in SetNumVar.vi LabVIEW:  VI Reference is invalid."
 
Have somebody an idea how I can memorize the VI reference to path them from one VI to another ?
 
 
Thanks,
Sylviane.
 
 
Download All
0 Kudos
Message 1 of 3
(3,014 Views)
I don't believe you can pass a VI reference in that fashion any more, now that VI reference numbers are local to that execution instance.  Why not just pass the name of the VI as a string and open a new reference to that VI in SetNumVar.vi?
0 Kudos
Message 2 of 3
(2,996 Views)
OK. You're right. It's working like that.
 
Thanks for your help.
0 Kudos
Message 3 of 3
(2,975 Views)