From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
can anybody explain me the (dis-)advantages of using 'properity:value' instead of using a local variable when I want to read (write) a control at a second location.
dan bookwalter schrieb: > Well one thing is a speed issue, the local will update much faster > than the property node.... so if speed may be an issue i would use a > local > > Dan
First : Greetings from another "Bögli" on the Developer Exchange.
I don't think there are other issues. But, like Dan said, the property node will be much slower. This is because it will force LV to switch to the user interface every time you read the property.
I have just made a little test to give you some figures. Simple for loop with 1000000 iterations in which the value is read.
Local variable = 15 times slower than Terminal Property node = 653 (!!!) times slower than Terminal
If performance is an issue, the property node is not the way to go !