LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I write to the same control from different frame in a sequence?


0 Kudos
Message 1 of 3
(2,578 Views)
There are two ways of doing this in LabVIEW. One is to use a property node for the control and set the VALUE parameter. Set it to All Write first because default is All Read (indicators). The other way of doing it is to use a local variable. I attached a simple example that shows how it works in a sequence. Hope this helps. /Mikael
0 Kudos
Message 2 of 3
(2,578 Views)
First of all, try to avoid, at all costs, using multi-frame sequences. These hide code. Alternatively, each frame should ideally be a subVI. In this case, the control/indicator can be written to by using, as suggested, either locals or control references. The method depends on the application.
0 Kudos
Message 3 of 3
(2,578 Views)