@paul_a_cardinale wrote:
Try this.
This looks much closer to what I want. I can pull the list of VIs, grab their reference feed them into this VI and get the clone names. I know each VI can't have more clones than the total number of clones in the system. With that said, I probably won't use it. When I read the context help for Generate Clone Name.vi it basically says it'll cause system instability.
![help.png help.png](https://forums.ni.com/t5/image/serverpage/image-id/341963i43E7F2019166B2AD/image-size/large?v=v2&px=999)
I think the "Get Number of Clones" will get me 90% of where I want to be w/o the risk. In my mind, from the responses, I think the answer is it's possible.... but may not be a good idea. I do agree that this would be a handy feature to have in LV (without all the caution statements).
For anyone else going down this rabit hole, I modified my code:
![2024-12-12 - 08-59-06.691 - Screen Number 3.png 2024-12-12 - 08-59-06.691 - Screen Number 3.png](https://forums.ni.com/t5/image/serverpage/image-id/341972i655D5649B5820906/image-size/large?v=v2&px=999)
![v2.png v2.png](https://forums.ni.com/t5/image/serverpage/image-id/341973i666F90C2683B14DA/image-size/large?v=v2&px=999)
However, when I sort by "Number of Clones" the "winner" is only six clones. I know for a fact, that I have 50+ clones for a particular VI running in the background. So that VI must not be in memory to get polled. So, I suppose, I could search the project for all my packed libraries (all the clones originate from packed libraries), make a list of all the VIs in them, and then create additional references to each VI and get the info.. But this seems like a pretty bad idea for me. The code already takes forever to execute.