04-28-2017 09:57 AM
On my system (LabVIEW 2016, 32-bit) it takes 0.04 seconds to execute. Not sure why it's so much slower on your system.
04-28-2017 10:16 AM
Hmm.
The only one difference between mine and yours case is that you have your tree on the same Front Panel of the same Vi but I use reference to the tree from another Vi FP.
I tried yours, it is indeed 33 ms fast. Very confusing. Why the external reference slows down the execution so much?
04-28-2017 10:25 AM
There must be something else going on with your code, because I'm still seeing very fast execution time (0.03 sec) when wrapping the property node in a subVI:
04-28-2017 11:14 AM
The one little difference is that in my code (which is pretty complex ones) I transfer tree reference via the Function Global.
It looks like the evil is hidden there and the method of how I transfer the reference is confusing Labview.
Thank you very much indeed for your help.
04-28-2017 01:51 PM
Is this a screenshot from your actual code? Because I see the string array doesn't come out of the subVI. Does that mean you are populating a string array indicator somewhere via VI Server? Specifically with the Value property? Because the Value property is known to be very slow, thousands of times slower than updating an indicator via its terminal or a local variable.
04-28-2017 01:56 PM
SubVi is the same as on my first screenshot. About the same as yours.