ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset.

Hi, 

 

Right now im having a program that will count down 12 hours. But the Elapse Timer function doesnt have the kind of function that i need. Whenever motion sensor senses a motion it should reset back to 0:00 but i cant seems to do it because of the limitation of the elapse timer function. My timer has to count 12 hours so i cannot change the time target so that it can use the AUTO RESET mode. Please help!!! Thank you very much!!

 

Best regards,
Bobfun.

0 Kudos
Message 1 of 8
(4,612 Views)

LabVIEW is a programming language - you can make your own timer VI using the 'get date/time in seconds' and an unitialised shift register (to store the start time).


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 8
(4,595 Views)

Hi bobfun,

 

you have been told to stick with your original thread. Why do you create the next thread for the same topic?

 

Right now im having a program that will count down 12 hours. But the Elapse Timer function doesnt have the kind of function that i need.

I think it has the functions you need…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 8
(4,593 Views)

Hi GerdW,

 

Hi, as it has solved my problem from the previous thread i am starting a new thread for a new topic. Yes it has a counter timer, what u didnt get is that, When the motion sensor sense a motion the timer should be reset back to 0:00 but it doesnt have the function, as it has only time target and i need it to set 12 hours, so auto reset mode doesnt work. Right now im attaching the VI so that u can better understand what i meant.

 

Best Regards,

bobfun

0 Kudos
Message 4 of 8
(4,572 Views)

Hi GerdW,

 

Hi, as it has solved my problem from the previous thread i am starting a new thread for a new topic. Yes it has a counter timer, what u didnt get is that, When the motion sensor sense a motion the timer should be reset back to 0:00 but it doesnt have the function, as it has only time target and i need it to set 12 hours, so auto reset mode doesnt work. Right now im attaching the VI so that u can better understand what i meant.

 

Best Regards,

bobfun

0 Kudos
Message 5 of 8
(4,571 Views)

Hi bobfun,

 

well, when I read the help for ElapsedTime it clearly mentions a "Reset" input…

 

What else do you need?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 8
(4,560 Views)

Hi GerdW,

 

I have managed to solve the problem on myself with the VI attached. Right now how can i setup a RESET button so that it will go back to the Time target? sorry and thank you!

 

Best regards,

bobfun

0 Kudos
Message 7 of 8
(4,528 Views)

Hi bobfun,

 

please attach your VI in LV2011. Right now I don't have LV2013+ available…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 8
(4,524 Views)