---
title: "Initial setup EventScheduler"
canonical: "https://docs.cuesystem.com/space/CVCGC/449249281/Initial%20setup%20EventScheduler"
format: markdown
---
1. Insert Controller and required number of TouchPanels into the project. In the sample project there are one Controller and two TouchPanels.
2. Insert the graphic class MulticolorEventScheduler.cvcg or AluminumEventScheduler.cvcg (or both) into the project. These classes will automatically add supportive classes and class EventScheduler. cvcl. In the exemplary project both classes are used. AluminumEventScheduler in TouchPanel1 and MulticolorEventScheduler in TouchPanel2.
3. Graphic object EventScheduler must be inserted in the Window. Insert the class Window in the project. In the sample project there are AluminumContainers.cvcg in TouchPanel1 and MulticolorContainers.cvcg in TouchPanel2.
4. Insert Applet EventsScheduler into Controller.
5. Insert windows into TouchPanels and insert graphic class EventSchedulersUI into windows.
6. In Applet EventsScheduler, in Properties, you can define up to 20 events. Behind each event, there is a number, which represents eventnumber. In Event you can choose one of 39 Picture features and Name. Name may be up to 15 characters long. In EventSchedulerUI in each particular TouchPanel, you can only use Events, which are filled in the Controller Applet EventsScheduler Properties. Respectively the Event becomes usable, if it has assigned Picture, Name or both. From these, you can choose in eventlist in each of Schedulers.  
ObjectID: All setting changed during runtime in the EventSchedulers Applet object is stored in the controller file storage in file EventScheduler_xx.cfg, where xx is ObjectID of EventScheduler instance. If you have more instances of EventScheduler Applet object in one controller, set different ObjectID for every instance. You can use up to 10 instances of object in one controller.  
SchedulerName: Graphic objets EventSchedulerID may be named.
7. **Programming**  
EventScheduler applet automatically generates twenty process events OnEvent1 - OnEvent20. You can place desired commands to processes linked with this events. You can create a process linked to an event by standard “Right Click” way (see picture below). Eventnumber is the number for the Event in the EventsScheduler, Properties.
  
  
8. **Connection Applet and GraphicObjects**  
Link another events with both TouchPanels.
  Import module from file Modules / EventSchedulerInterface_X.XX.cvcm to TouchPanel/Modules in each touch panel, where instance of EventSchedulerUI is created and rename the module to EventScheduler1. If there are more instances of EventSchedulerUI in one touch panel, create copy of this module for each instance of EventSchedulerUI and rename it to EventScheduler1, EventScheduler2 and so one.
  Each module must be edited by the following rules: