08-15-2008 06:56 PM
08-17-2008 11:35 AM - edited 08-17-2008 11:39 AM
Hi Detroit,
check the system time, get the hours component, check range
(using a 24h time format is clearly easier here)
Use the usual boolean logic to detect changes in the state of "daytime?" (shift registerto remember old states; NOT(old state) AND (new state) to detect rising edge...)
08-18-2008 03:13 PM
Hi Detroit,
Depending on how critical the system is, you may want to consider a real-time platform. If the reliability of the Windows Operating System is acceptable, there is a nifty scheduler built into Windows XP. To launch the scheduler, goto Start » Settings » Control Panel » Scheduled Tasks » Add Scheduled Task. You can browse to any EXE file. If your VI-built-EXE runs for an hour, Windows can take care of scheduling the start. Just another approach from GerdW's, no better or worse as far as I can tell.