09-08-2023 09:00 AM - edited 09-08-2023 09:26 AM
Hello,
In the LabVIEW 2023 Q3 is impossible to build a working EXE file when the matrix VI's are in use.
I.e. I can build an EXE, but I can't run it, because it starts searching for the control "NI_Matrix.lvlib:RealMatrix.ctl".
The original VI is fully functional, as well as an EXE built in the LabVIEW 2022 Q3.
What was done:
Nothing helped. For me it looks like some sort of a bug in the Builder.
Any ideas?
P.S. My system: Windows 10 Pro x64, LabVIEW 2023 Q3, Runtime is installed.
Solved! Go to Solution.
09-08-2023 09:26 AM - edited 09-08-2023 10:07 AM
I've made some additional research and it looks like the issue is with that setting:
Interestingly, that this "Remove unused members of project libraries" is a default setting for this parameter. And it seems when the tickmark is selected LabVIEW removes the "NI_Matrix.lvlib:RealMatrix.ctl" from the build due to some bug.
Added later:
Even more interesting, that the builder automatically includes "IMAQVision.chm" into the build of my large progect, despite that fact that no Vision functions are used in the project. While not including the matrix library.
09-11-2023 03:44 AM
I'd expect the disconnect type definitions to have something to do with it.
If that option is on, the matrix ctl is probably removed, unless you don't remove the unused library items?
If so, you might be able to include the control to the always include list, and have both options tagged off.
Of course, it looks like regression and should be looked into by NI...
You might want to post some .lvproj too (or zips with complete examples). It's easy enough to replicate, but every bit could help...
09-11-2023 04:43 AM - edited 09-11-2023 04:45 AM
Thank you very much, your guess was right - with that (below) build configuration EXE worked. In exchange of +13 MB size of EXE and unknown performance implications. Plus, that strange "IMAQVision.chm"... So yes, for me looks like a clear regression.
P.S. Test project ZIP in the attachment as suggested.
09-12-2023 12:31 PM
I have filed Bug 2519886 to LabVIEW R&D about the Matrix typedef issue with a built EXE in LabVIEW 2023 Q3.
09-13-2023 04:46 AM
Thank you. I also did that with the help of the NI support, so, now the same bug is reported at least twice - your report under #2519886 and my under #2519019. 🙂
09-13-2023 01:40 PM
@D_mitriy wrote:
Thank you. I also did that with the help of the NI support, so, now the same bug is reported at least twice - your report under #2519886 and my under #2519019. 🙂
Ah, thanks, I didn't realize a Bug had already been filed. I closed mine as a duplicate.
10-04-2023 09:52 PM
So most of our application is using some matrix VIs
Especially this one:
So I had to use the Checkbox roulette option above to get solve the matrix issue.
But then I'm running into other other issues, either this:
VI not in memory are you kidding me.
We managed to get some builds through with these options:
But when we're running them a VI that we start with VI server is now broken.
Not even enabling the debugging is solving that issue 😞
I guess we just have to keep playing checkbox roulette
10-05-2023 06:35 AM
Okay, we've finally managed to build our applications in LV2023Q3, the strange thing is that I has to include a class in "Always Included" for it not to break in 2023.
This is a dot net library that allows us to embeds MS's WebView2, this makes it possible for us to use this Web Browser as part of our UI.
Like here:
Because we can't live without some matrix CSS animation in the UI.
11-08-2023 10:08 AM
Thank you, MikaelH!