04-04-2018 01:18 AM
Hi Everyone,
Is there any property node that I can use to get the list of VIs whose front panel is visible (these VIs could even be loaded in subpanels)?
I have attached the VI that I have tried - but this doesn't seem to work as expected (for example, it doesn't display the VIs that are loaded in subpanels)
Thanks,
Karthik
04-04-2018 01:27 AM - edited 04-04-2018 01:28 AM
04-04-2018 01:41 AM
04-04-2018 04:35 AM
Getting clone references is notoriously hard. There is no official way to do it, and the way to do it is explicitly unsupported.
The clone references are basically numbers. These numbers have an offset. The offset can be calculated by CRC-ing the clone name. Once you know the offset, the only way to get the open references of that clone, is to iterate some number starting from the offset, so see if each reference is used or not. There is no way to tell if you should iterate 10, 100 or 100000 times... This should be repeated for each reentrant VI in memory.
It should be avoided...
Usually there are better solutions to the underlying problem. But we do need to know the underlying problem to help...