09-07-2022 12:57 PM
The file "Dynamic\Dynamic VI.vi" has a null XControl* on its FP.
When I run "Main\Check Xctl.vi", it dynamically loads "Dynamic VI.vi" and everything is OK.
However when I run "Build\Check Xctl.exe", when it loads "Dynamic VI.vi", the XControl is broken.
Why?
* Just shows a floating "Hello" label.
09-07-2022 03:10 PM
Anything that loads dynamically by file name is not part of the recognized dependencies and thus needs to be added to the "always include" list of the build specification.
09-07-2022 03:20 PM
@altenbach wrote:
Anything that loads dynamically by file name is not part of the recognized dependencies and thus needs to be added to the "always include" list of the build specification.
But it only breaks if there's an XControl. Other types of dependencies work OK.