LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extra slow Actor Creation

Solved!
Go to solution

 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? 

Jay14159265_1-1702398795041.png

Thanks 

 

 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 1 of 3
(845 Views)
Solution
Accepted by topic author Jay14159265

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:

Kyle97330_0-1702402887894.png

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.

Message 2 of 3
(823 Views)

Thanks, I will check that out and see what it going on down there. 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 3 of 3
(788 Views)