11-29-2007 04:02 AM
11-29-2007 04:16 AM - edited 11-29-2007 04:18 AM

11-29-2007 04:37 AM
11-29-2007 04:50 AM
11-29-2007 07:55 AM
General comment regarding "Same Time Next Week".
If you are in the US make sure you check the code for proper opeartion when switching from DST and back. There are two days in the year that do NOT have 24 hours. One has 23 and the other has 25. This must be taken into acount when you are generating the next "trigger time".
Ben
11-29-2007 08:19 AM - edited 11-29-2007 08:20 AM
generally i do it like that so the wait is iterative.

Ben could you expand on DST. how do i know in advance in which day it occurs? this is also probably very different between countries...
11-29-2007 08:25 AM
11-29-2007 08:27 AM
11-29-2007 01:29 PM
11-29-2007 02:29 PM
just a very fast patch to show the idea :). you can add a stop button, and save the alarm time using a wrapper vi.
i made it this way in a temperauture PID controler using a triac, some 10 years ago. had 10ms seconds between new pules, and once in a while i was checking the status of the DAQ counter. to impose minimum constrains on it (had lots of cacls runing in the mean time, and this was on a pentium), used this tric of iterative wait, in an unrelated subvi.