LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a question about how to use property nodes.

스크린샷 2024-01-04 100429.png

As shown in the picture above, there are two ways to use the property.

 

Is there any difference between these two?


Such as speed or optimization or memory usage.

 

0 Kudos
Message 1 of 3
(427 Views)

No difference in the way you are showing them.  But you would get a lot more performance from using a Local Variable if all you are doing is setting the value.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(412 Views)

The bottom one is linked to a control in the same VI. The top requires a reference so you can operate on the properties from within a subVI as long as the reference is wired to a connector (In that second case you cannot use local variables).

 

As has been mentioned, property nodes are most useful for properties other that the "value". Values belong in a wire.

0 Kudos
Message 3 of 3
(383 Views)