LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hold value until it changes

Solved!
Go to solution
Highlighted

Hi!

 

I'm pretty new to Labview and I am working on a project. I control VLC media player by telnet. I want to have the time value displayed in front panel. To do so, I write the command "get_time" on one iteration and read the answer on the next iteration and so on. What does appen is that my time value flick because it come back to 0 each two iterations.

 

What can I do to hold value until it change? I have made few test with feedback nodes and shift register, whitout succes.

 

 

Thank you!

0 Kudos
Message 1 of 4
(1,331 Views)
Solution
Accepted by topic author techniq32

Just move the decoding of the time and writing to the indicator to be inside of the case structure so that it is only done when you perform a read.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 4
(1,323 Views)

I don't see where you attempted feedback node or shift registers for that in your VI.  Here is an example of how it would look.

 

0 Kudos
Message 3 of 4
(1,317 Views)

So simple!

 

Thank you!

0 Kudos
Message 4 of 4
(1,312 Views)