10-09-2020 04:38 AM
Hello!
I have a project which controls an external device via USB with the NI-VISA driver, and it includes the external ZMQ library. I also have a project file, from which I can compile an executable, as well as an installer for my executable. On one machine, everything runs well, the installer is created, and the installer works also as expected.
On another machine, I can compile the executable, but when I then try to build the installer, I receive the following error message:
English (translated from German with deepl):
The link below will take you to the Application Builder support page. Take the following information for help:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> IB_MSI.lvclass:Prompt_Missing_Products.vi >> NI_MDF.lvlib:MDFProdPreview_GetUnavailableProducts.vi
The following errors and warnings were noted during the build:
errors:
A file, directory or other data was not found.
code:
-32
Original message (in German)
Über den unten befindlichen Link gelangen Sie zur Support-Seite für den Application Builder. Nehmen Sie folgende Angaben zu Hilfe:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> IB_MSI.lvclass:Prompt_Missing_Products.vi >> NI_MDF.lvlib:MDFProdPreview_GetUnavailableProducts.vi
Während des Builds wurden folgende Fehler und Warnungen vermerkt:
Fehler:
Eine Datei, ein Verzeichnis oder andere Daten wurden nicht gefunden.
Code:
-32
Following the provided link is not of much use, also when I search for the error message or similar keywords, I don't find any helpful page.
Why is this program compiling fine on one PC but not on the other? Can you please provide me with some hints what I can do in order to trace this problem down? Because at the moment I am really clueless. With the NI Package Manager, I ensured that all the necessary Programs and Drivers are installed, and I compared the list of installed programs to the other machine where it builds successfully, and it looks fine (there are not exact the same packages installed, but it looks like all necessary packages are, and they are also installed with the same version).
Also, when I right click in my project file and click on "Search missing objects" it returns me "No objects found", which means everything is OK and there are no files in my local project missing.
I am really grateful for any hints, how I can trace down this error.
(I am using LabView 2018)
10-13-2020 01:56 AM
If somebody has any idea what I could do / try / double check, it would be very appreciated. I don't have the slightest idea where to start, or at which point this is going wrong. I need to have the PC as build laptop, where it is currently not working...
Also, if somebody has more information about this vague error message, that would also be very appreciated.
10-13-2020 08:57 AM
If there is MAX installed on both machines, compare the list under the MAX node "Software" and try to guess if any component is missing.
10-19-2020 11:25 AM
Thank you for your advise. However, on none of the machines, a packed called MAX is installed.
In the meantime, I found another computer onto which I could install the build environment. This computer builds both the executable and the installer fine. So I guess it is some configuration problem (not of my project, but of LabView or the Package Managers...), and a fresh reinstall should fix this. But for now I have a working solution with the other computer. So I consider this issue closed.
10-20-2020 01:28 AM
Glad to hear you found a workaround.
With MAX I meant the NI Measurement & Automation Explorer, which is often installed together with NI device drivers:
10-20-2020 10:19 AM
I have discovered a similar issue. I can get the my vi to work properly in the LabVIEW environment but when I compile it and run the application it fails. I noted the broken arrow icon and clicked on it to discover this error "Missing SubVI Three Button Dialog.vi is VI MultipleDepts.vi". However, this is listed under the project in the dependencies, vi.lib folder. I changed it from a Two Button Dialog to a Three Button Dialog. The two was working fine and the three is great in LabView environment but won't build properly. I am stuck at this point. Any help would be greatly appreciated.
10-20-2020 11:10 AM
If I remember correctly, "2-button" is a node, but "3-button" is an express VI. That might have something to do with it. Maybe there's something wrong with it? (Just guessing.)
10-20-2020 02:29 PM
You are correct on this. I went back to the Two Button Dialog and it worked as expected. However, I tried several times to replace, reprogram, changes settings without success. I placed a Tech Service request to note the issue and see if there is a resolution.