PDA

View Full Version : Scripting "For" problems



dkuntz
03-16-2008, 09:07 PM
Hate to keep posting these and get no comment but here goes anyway. I am trying to use the For clause to get around my "Every" issues. The For clause turns on the correct lights unlike the Every clause but it doesn't work for longer timing as expected. I have a display that is triggered by car headlights. I am trying to get certain lights to be on in between headlight triggers. I am using a background sequence to accomplish this. Anyway I have tried variations like For(10).Hours and For(500).Minutes. I can't figure out any consistency but the best I can seem to do is get the lights to stay on for 10-15 minutes or so.

KC
03-31-2008, 08:42 PM
I've never tried going for spans that long. I'll play with it and see what happens.

KC
04-13-2008, 09:10 PM
When I originally coded it, I didn't expect anyone to use it for such long spans. The reason it's not going that long is because with the way it's coded it won't go any longer than about 17.5 minutes. So, as designed, but it looks like addressing the "Every" issue will make this moot anyway.

dkuntz
04-14-2008, 11:49 AM
Thanks for the info. It is correct that as long as every works as expected I will be good.