LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to dynamically update control boxes

I was wondering if anyone there would be a ble to tell me how to update controles programitiacly in realtime.
Scenario:
I load a file, my program should update it's self, while being able to permit user to over-ride the values generated by the program.


One can contact me on:
vijayanayagam@hotmail.com
0 Kudos
Message 1 of 4
(2,641 Views)
If I understand the question correctly, you are trying to write the value of a control, rather than an indicator. This is easily accomplished by creating a property node from the control and writing the value property of the control. I am not sure what you mean be "real-time", if you mean while the VI is running this will accomplish your task.
0 Kudos
Message 2 of 4
(2,641 Views)
What I want is essentially a write able textbox, which can both take a variable and can set the value of a variable. The reason is that the app takes values from a data file (a model), processes it and graphs it to time infinity. This model must be able to be altered by the user, while the insrtument continues to plot it. How can this be done in labview???
0 Kudos
Message 3 of 4
(2,641 Views)
The best way is to use a local variable. In your block diagram, right click on the control. Select Create - Local Variable. You can right click on this local variable and make it readable or writeable. When writeable, just wire in a value. You will see the change being made on the front panel as it happens programatically.
You could create a Property Node and write to the Value property to acheive the same effect, but local variables are quicker.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 4
(2,641 Views)