LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unexpected error on dynamic vi's

Hi All,
 
I'm attempting to get around the problem of dynamic vi's not being found when run in a TestStand deployment by using the dynamic vi I want to call as a subvi and getting it to return its location by passing in a flag before then calling it dynamically to run as a daemon. (please see attached image).
 
Unfortunately when I attempt to run it dynamically I get an error 1000 - just wondering if anyone had any ideas about how I could prevent this from happening (if there is a way).
 
Thanks,
David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 1 of 2
(2,881 Views)

It's amazing how often you post something on here then within 5 minutes you find a solution!

Realised that if you make the dynamic VI reentrant then when you open a reference it opens another instance of that VI so you don't get the clash. Still a bit annoying as i'd rather avoid having to have 2 instances in memory, but if that's the solution then I'll have to go with it - it avoids the issue of having to specify a dynamic vi's location for different configurations.

 

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 2 of 2
(2,876 Views)