LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

store first value of an indicator

Hi, I have a problem with the VI attached it is supposed to count time after initialisation and stop counting when paused and then restart counting at the same value when restart.
 the problem is that the counter restart at is actual value so I'd like to know how to store the first value of an indicator

The different values of the transition control activate the differents steps 1 is intialiser 2 is pause 3 is reprise and 4 stops the VI

Thanks all
0 Kudos
Message 1 of 5
(3,074 Views)
You should attach the custom control also.

Regards,

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 5
(3,036 Views)
Hi, sorry about that
I thougt I had disconected all type defs here it is.
thks
0 Kudos
Message 3 of 5
(3,024 Views)
You don't need to use controls and local variables, the solution is to create another shift register to store the partial time, see the attached example.
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 4 of 5
(3,010 Views)
Thanks that's what I needed ,
now I'd like to use this as xvalues(time) of an XYgraph , I'd like the graph to work like a chart with an strip chart update mode.
Y values  are comming from an acquisition

thanks
0 Kudos
Message 5 of 5
(2,930 Views)