Hello, I've inherited VI code that gets compiled as an EXE. This EXE uses the VI Launcher function to launch sub VIs.
The EXE has a global variable structure that gets used by the launched VIs.
I think the vi that defines the global variable gets found by the launched VIs; the VIs for both are in the same directory. I'm not sure how the launched VI knows to look for its sub VIs - there are no project files and they don't get compiled to an EXE. Just cause they're in the same directory?
So my questions
1) how do the launched VI's know where to find their sub VIs?
2) what about the global variables? I presume they maintain their own copy in their own memory? They can't possibly be shared between the programs can they?
3) how do I go about communitcating between the EXE and the launched VIs? Is there an easy way?
A side question would be - what type of performance hit am I getting by launching the VIs rather than compiling them into the EXE?
Thanks for everyone's help again,
Gunter