From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Schedule

I got this schdeule timer program but there is a problem with it. When i want it to stop at a certain it did not stop on the specific time i want. Example when i want it to stop at 8.00am, it would stop at 8.01am. I really need help. Thanks.

0 Kudos
Message 1 of 3
(2,055 Views)

Hi,

 

You should wire "want seconds" input of  "Get Date/Time string" with True constant so you get seconds to your time string. It would be even better if you forget about that "Get date/time string" and compare timestamps instead. You should also add a small delay to your loops to avoid using CPU @ 100%. You can achieve this for example using "Wait (ms)" function inside your loops.

 

Hope this helps!

 

-Matti

0 Kudos
Message 2 of 3
(2,049 Views)

thanks alot for your help. It works by removing both the time on and off the "Get date/time string".

0 Kudos
Message 3 of 3
(2,041 Views)