LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why Does XControl Break?

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.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 3
(893 Views)

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.

0 Kudos
Message 2 of 3
(873 Views)

@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.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 3 of 3
(867 Views)