LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can you write to a control?

What is the best way to write to a control? Can this be done without the use of a property node?

0 Kudos
Message 1 of 4
(2,397 Views)

generally writing to a control should only happen when setting up a screen or inititlaizing a display, in which case usinga local is acceptable provided you are control when it is occuring using proper data flow techniques.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 4
(2,388 Views)

Either property nodes or local variables.

However, be careful you are not creating any race conditions by doing so.

Generally, these options can avoided all together depending on your application (via shift register or something similar)

Cory K
0 Kudos
Message 3 of 4
(2,381 Views)

using a local variable is faster in execution than a property node. and use a control reference to write to a control in a VI from another -

 

writing to control from another vi using control reference

 

Cheers,

Mone

AumTech.in - PC based LabVIEW solutions

0 Kudos
Message 4 of 4
(2,359 Views)