02-15-2005 01:57 PM
02-15-2005 02:27 PM
02-15-2005 02:54 PM
@Aaron G wrote:
Gary,
A common reason for error 1069 is because you are attempting to launch the code from the executable environment and not a develoment environment. When it attempts to launch the VI, it may not find all of the subVIs, causing the VI to be reported as non-executable. One way around this is to open the VI that is dynamically launched, go to File>>Save With Options and choose Application Distribution. This will allow you to create an Application Distribution LLB file. If your executable launches the version of the VI that is in the Application Distribution LLB, it will work. As a word of caution, when saving files as an Application Distribution, the block diagrams are removed from the VIs, DO NOT OVERWRITE your existing VIs. You will never be able to edit them again if you do this. Alternatively, when you build the application, make sure that the VI is included as a dynamically launched VI in the list of included files.
Regards,
Aaron
02-15-2005 03:02 PM
02-16-2005 09:44 AM
@Aaron G wrote:
Gary,
To clarify my post, the VIs that are the target that you are invoking dynamically are the ones that need to have the Application Distributions libraries created. The path that you are using should be to the "exectuable" version of the VI which resides in the llb you created.
Regards,
Aaron
02-17-2005 03:01 PM