From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-22-2015 01:50 PM
Is it possible to check a file is add in the build file? For example ../APP.exe/Main.vi. I need a subVI that allows the same action of "Check File", but with the .EXE file build. Thank you.
10-22-2015 02:31 PM
There is, but why? Are you trying to ensure that a VI is added that you are opening by a reference to by path? Because if you are you should be using a static VI reference. Here is an old example. Then it doens't matter where the VI is just that it is in memory.
Now if you really do want to know if a VI is in the EXE you can try to open a reference at that path and if it throws an error it isn't there.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-23-2015 07:59 AM
If it is that important, use the Always Include on the executable build spec.
10-23-2015 05:14 PM
OK thank you very much. I have different subvi, which are inserted in subpanel. For some subVI have a file menu .rtm. My intention is to add the menus build and check for a partner for that file menu, for this, I have the same name subvi and menu. Therefore, wanted to know if Is it possible to check a file is add in the build file? the answer is NO. but there is any alternative to this?.
10-25-2015 11:12 AM
This sounds like you are trying to make a plugin architecture. You might want to look into using Packed Project Libraries. Then you can just check to see if that PPL exists where is should be and throw an error if is doesn't. This would also allow you to add more plugins simply by copying the PPL to the right location without rebuilding your entire application.