02-25-2020 02:13 PM
Hi,
I am having an issue where a Ring control on my Main.vi is supposed to be programmatically populated, but some items are missing when I build the .exe. The latest run-time engine is installed, and it is a Win 10 machine. I have attached the fairly large complete project with all of the files.
The subVI where the ring control is supposed to be fed from is in the:
Source.lvlib ==> File IO.lvlib ==> Public ==> Load INI_Spatta.vi
This is not my code, but I have been tasked with maintaining , and expanding it from this point on.
I would really appreciate any thoughts on why I am missing items. The directory(s) are correct, and some of the items do load, but not all.
Thanks very much!
George
Solved! Go to Solution.
02-25-2020 02:58 PM
Without looking through your whole project (no time, sorry) I'd start with this:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAiTSAW&l=en-US
You can remotely debug executables. Since part of your control is populating, then the population code must be working, it's just not loading everything it needs to populate. Try debugging in and seeing what it's missing.
02-25-2020 03:08 PM
Thanks for the link Bert. I have been saying that I needed to debug remotely, so I will start here & see what I can see.
Thanks again!
George
02-27-2020 07:13 AM
@BertMcMahan wrote:
Without looking through your whole project (no time, sorry) I'd start with this:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAiTSAW&l=en-US
You can remotely debug executables. Since part of your control is populating, then the population code must be working, it's just not loading everything it needs to populate. Try debugging in and seeing what it's missing.
Debugging executables is broken in LabVIEW 2018.
03-03-2020 06:28 AM
Hi again,
So the ring control in my .vi is getting completely auto populated from the proper directories on 2 development machines, but when I run the .exe on the production run-time machine, the control only fills partially. I have debugged the .exe from the dev. env. machine, but can't find what is causing the issue.
Any thoughts?
Thanks again!
George
03-03-2020 09:33 AM - edited 03-03-2020 09:33 AM
Are the ones not being added from a different path than the ones that are?
03-03-2020 09:53 AM - edited 03-03-2020 09:57 AM
Hi,
Yes, only 1 path for all. It turns out that the issue was not a LabVIEW one, but a directory mismatch from another programmer! Once they provided the proper path, everything worked as it should.
I asked about the path several times, and the answer was always that the path was correct......until it wasn't 😞
Thank you for all of the suggestions. With every problem I encounter, I end up learning quite a bit by the time I get to the solution.
George