Ok;
I have stipped out some more of the code to isolate just the part generating the file names. You were on the right track, but ended up doing a lot of extra work. If you have the day, month and year converted to a LV timestamp (in number of seconds) all you have to do to findout the timestamp for the next day is add 86400 (the number of seconds in a day) to it.
A couple other points:
1) It is very bad to use property nodes to read the value of a control because it really trashes your performance.
2) What is the routine TimeDelay.vi supposed to do beyoind generate a wait. All you need inside the Error/No Error case structure is the Wait function. Also, you need to make this subvi reentrant
, otherwise it will start slowing your performance. The more times you use it, the worse it will get.
Mike...