06-22-2013 07:45 AM - edited 06-22-2013 08:05 AM
RIchard, here is something along the lines of scalability. for some reason you want to edit the buttons (bool text) to a different number in the future...the vi will handle those changes, as oppose to changing the constant...constantly
06-22-2013 12:56 PM
06-22-2013 01:02 PM
Use a case structure or a select statement that passes the reset value into the shift register instead of the subtracted value. You'll just have to work out the boolean conditions to determine that it is after midnight.
06-22-2013 01:44 PM - edited 06-22-2013 02:08 PM
OK...set up the timeout case to 100ms, then put your timer function with your reset.once the reset time and the current time are equal, bool out true to reset shift register. there might be a better way of doing this, but I can't think of any at this point. Any suggestions?
06-23-2013 12:21 AM
thanks Apok for being a big help!
07-04-2013 11:36 AM
07-04-2013 12:12 PM