LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update and change values when VI is running

Solved!
Go to solution

Hello everyone !! I have a slider numeric control and I want to be able to change and update the value when Vi is running. Can I use property node for this?

0 Kudos
Message 1 of 15
(7,846 Views)

Sure.  Or a local variable.

 

These questions can be answered by taking those tutorials.  Smiley Wink

0 Kudos
Message 2 of 15
(7,844 Views)

I was not able to find one which uses property node. Sorry about that.

0 Kudos
Message 3 of 15
(7,833 Views)
Solution
Accepted by topic author studentgirl

If it's a CONTROL (not INDICATOR), then it's intended for the user to set the value via mouse / keyboard.

 

You can still set the value via PROPERTY NODE or LOCAL VARIABLE, for ANY control.

 

What difficulty are you seeing?


 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 4 of 15
(7,809 Views)

Hi,

 

Heres an example for you.



-Matt
Message 5 of 15
(7,788 Views)
-create a while loop
- connect stop terminal to Boolean button.
- create numeric control inside Loop.
- create numeric indicator and connect to numeric control.
- keep some delay inside Loop.
- now run vi and Change value in numeric control and see whether numeric indicator value changes or not.
Thanks
uday
0 Kudos
Message 6 of 15
(7,784 Views)

Sorry the problem is not solved yet. The horizontal slider control lets the user to choose the number of samples to display on the graph. The problem is when I run the VI and I change the value of samples through the slider, it does not update the values on the graph.

0 Kudos
Message 7 of 15
(7,750 Views)

Please post code and if you have another question it is good habit to start another thread Smiley Wink.



-Matt
0 Kudos
Message 8 of 15
(7,744 Views)

The problem is when I run the VI and I change the value of samples through the slider, it does not update the values on the graph.

 

 

You have shown NO code, so can you explain how anybody could possibly help?

 

 

 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 9 of 15
(7,738 Views)

 The problem is that the code is confidential so I can't post it. But the only problem is that it is not updating the values in the graph.

0 Kudos
Message 10 of 15
(7,735 Views)