05-21-2015 11:06 AM
The following knowledge base article explains why you can not get a reference to a VI insided of an executable, but it also says that if you enable ActiveX you can access the controls and indicators. So apparently it CAN be done, but I cannot locate anything that tells me the exact mechanism needed to do it.
http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C
Here's a pertinent quote from the article:
"Enable the ActiveX interface for the EXE you are calling into and use the VI Server ActiveX interface (from the LabVIEW functions palette: "Connectivity»ActiveX»Automation Open) to run the VI (Get a VI Reference, Set the Control Values, Run the VI, Get the Indicator Values), making this change could potentially involve a lot of work for the caller of the function, and a little for the build specification."
Kind regards,
Jim Smith
05-21-2015 07:58 PM