12-12-2023 10:50 AM
It now takes ~7 min to create an actor using the LabVEIW project manager. Does any one know what makes this process run so slowly and how to speed it up? Others that work on this project/repo report the same issue so it's reasonable to think that it is not an issue with a machine / install but some issue with the work the LabVIEW IDE has to do to create the Actor. My guess is that the time it takes to make the Actor scales with the size of soemthing but what is it? The number of VIs? The number of other Actors? The inheritance tree? Does LabVIEW have to touch every VI file in a parent / sibling class when you make a new Actor? Why does it take so long?
Thanks
Solved! Go to Solution.
12-12-2023 11:45 AM
Can you try running the code manually instead of running it from the menus in LabVIEW?
The code is here:
<Your LabVIEW directory>\resource\Framework\Providers\AddActor\Support\Add Actor.vi
The actual VI is locked with a password so you can't look in it directly, but there's a strong chance whatever is taking so long is in one of its subVIs, which you can see thanks to the "Browse relationships" function:
If you open those up they should all be unlocked and you can peek inside them to see what they do, see what arrays they iterate through, add probes/logging for timing, and so on.
12-12-2023 03:21 PM
Thanks, I will check that out and see what it going on down there.