siggiv

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About siggiv

  • Rank
    Newbie
  1. Hi I am trying to make a user input to activate alarm according to weekday and time of day. For example make alarm active (enable) from 18:00 on friday evening to 08:00 on monday morning. similar as "Active Times" in DAQConnect. here is how I started: while (1) if ((systime() > 18h) && (systime() <= (08h)) & (v.ON_Button_Alarm[0] == 1)) Alarm.MyAlarm.Enabled = True Else Alarm.MyAlarm.Enabled = False Endif delay(1) endwhile Thanks for any help siggi