![]() |
|
|||||||
| The C-Bus Community Forums is place where C-Bus users can share information and help others with C-Bus. From time to time you will see Clipsal staff on the forums, but this is not an official support channel. If you really need help contact the official support services of Clipsal. More information about the purpose of this forum is available here. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Can I have some sample code that selects a schedule then gets the schedule name and schedule start time.
Can not find out how to do it from help file, some thing like this. procedure xxxx; begin SetIntIBSystemIO("Schedule Number", 3); S1name:= GetStringIBSystemIO("Schedule Name"); S1:= GetIntIBSystemIO("Schedule Start"); writeln('Name =',s1name,'s1 =',s1); end; tks dave |
|
#2
|
|||
|
|||
|
You nearly had it right. Try this Dave:
Code:
SetIntIBSystemIO("Schedule Number", 3);
GetStringIBSystemIO("Schedule Name", S1name);
S1 := GetIntIBSystemIO("Schedule Time");
WriteLn('Name = ',s1name,', start =', s1);
__________________
Regards, Darren |
|
#3
|
|||
|
|||
|
Tks Darren
So close, what I am doing is all the pumps, filters, underwater sound system etc have a start and stop schedules so the user can change them. But if they come home between the start and stop times I what to start them up, and not hard code the times in the logic. Now I can look at the schedule times and compare the current time with them. dave |
|
#4
|
||||
|
||||
|
Quote:
__________________
Perth Audio Visual Solutions |
|
#5
|
|||
|
|||
|
Filpee
Its for a touch screen and implement in the logic, can you show me how to do it in logic ?? tks dave |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Schedule Plus re-establishing comm's | Ian | C-Touch/HomeGate/SchedulePlus/PICED | 8 | 15 Sep 09 05:34 PM |
| schedule plus automatic startup | joshl | C-Touch/HomeGate/SchedulePlus/PICED | 4 | 28 Jul 08 06:33 PM |
| Homegate V4.0 schedule times | Dirk | C-Touch/HomeGate/SchedulePlus/PICED | 1 | 28 Jan 08 11:21 PM |
| Only turn on groups at certain times schedule? | jako | General Discussion | 4 | 17 Jan 06 11:05 AM |