02-05-2021 04:04 AM
Hi everyone
need your help in sub vi subject,
I'm working on an existing big project (witch a lot of VIs at dependencies tab) and I am trying to add another vi file that I created (attached image)
this vi connected to another elements in project but the file not updated in the dependency tab, In addition to the fact that it does not update the dependencies tab when I create an exe file it seems that the same vi I created is not enabled at all
what am I missing?
02-05-2021 04:28 AM
Hi Daniel,
@daniel9595 wrote:
Hi everyone
need your help in sub vi subject,
I'm working on an existing big project (witch a lot of VIs at dependencies tab) and I am trying to add another vi file that I created (attached image)
this vi connected to another elements in project but the file not updated in the dependency tab, In addition to the fact that it does not update the dependencies tab when I create an exe file it seems that the same vi I created is not enabled at all
what am I missing?
You miss:
The subVI is part (aka "a member") of your project, so it does not fall into the "Dependencies" category.
In the Dependencies you find VIs, which are used not included in the project…
02-06-2021 11:59 AM
I understand,
Why are the other VIs that are in the project, as you can see they are in TAB dependency?
Is there a reason why the VI I created does not work when creating an EXE file for a project?
02-07-2021 08:57 AM
Every VI (and other dependencies) only can exist once inside a target in a LabVIEW project. Either you add it explicitly into your project OR LabVIEW adds it under “Dependencies”. All the other VIs under Dependencies are also called somehow by your main VI, either directly or as subVIs of VIs and subVIs.
There are many possible reason why a VI may not work when compiled into an executable. Most often it has to do with assumptions about fixed paths in the program that don’t look the same in a built executable.