> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/water-insight/ims-and-gateways/ipc-manager/projects-and-schedules.md).

# Create a project and schedules

Create an IPC Manager project, add IPCs one by one or from a spreadsheet, and build schedule sets with quick or user-defined scheduling.

IPC Manager uses a wizard to create the initial project file for a site. In general, a project file is created once the user has a list of IPC serial numbers to add to the project. Sometime thereafter the IPCs can be selected and scheduled.

{% hint style="info" %}
**Applies to:** IPC Manager (retired). The IMS Cloud application is now used for Scheduling IPCs. See [Create and send schedules](https://help.qtech.co.nz/water-insight/ims-and-gateways/ims/schedules.md).
{% endhint %}

## Before you start

Before a project is created it is advisable to know the following (but not strictly required): the radio channel allocated for the site, the number of zones to be used in the site, and the number of days in the cycle for periodic scheduling. Each Site is assigned a unique FarmID by Water-Insight.

## Create a project

1. Click the **create** toolbar icon to start the new project wizard. If you already have a project loaded it will be closed, you will be prompted to save it. Click yes to confirm that you wish to begin.
2. Enter the radio channel for the site, the number of zones (sub-laterals), the number of days in the schedule cycle, and the assigned Farm ID (assigned by Qtech).
3. Click the back arrow to return to IPC Manager main dashboard and the template for the new project will be created.
4. Click the save icon to save the project with a convenient name for the farm or site.

## Add IPCs one by one

Small projects with less than 50 IPCs can be created by entering the serial number of each IPC into the project one at a time.

1. Click the **IPC** workflow menu button.
2. Click the serial number cell in the line marked with an asterisk.
3. Enter the serial number of the IPC. The MAC address for the device will automatically appear.
4. Enter an IPC name for the device (5 characters max).
5. Select the comms mode (use mesh by default). You can change the comms mode if local or hybrid mode is preferred, but leave as mesh when the desired mode is not known.
6. Repeat the process for additional IPCs. When IPCs have been added to the project save the project. Click the save toolbar icon.

Make sure that any IPCs in the IPC workflow that use a repeater are modified to select hybrid mode and select the repeater ID. A repeater can be manually added in the same manner as an IPC but in the **Repeater** workflow. ITU units can be added in the **Telemetry** workflow. Don't forget to select the telemetry type (Level, Flow, etc.). Note that ITU units are not scheduled, they are polled by the INC on a periodic basis, typically every 15-60 minutes for data from the sensor device.

## Import IPCs from a spreadsheet

To bulk import IPCs into a project a Microsoft Excel spreadsheet must be pre-populated with device data. The spreadsheet must be in this form, with these title headings starting in the first column and row (A:1) of the worksheet. For new projects:

1. Fill the serial Number column with the list of IPC devices for the site (or as many as are known initially).
2. Make a duplicate copy of the serial number into the old serial number column.
3. Fill the type column with the word **New** for every row of IPCs.
4. Assign an IPC Name for every row entry.
5. If the zone groupings are known then number all the IPCs in the same zone with the same number (1 for zone 1, 2 for zone 2, etc.).
6. Fill the channel column with the radio channel number for the site for every row entry.
7. Fill the mode column with the word **Standard** for every row entry, (unless the device is a repeater in which case use the word **repeater**).
8. Save the spreadsheet e.g. ipc-import.xls.

Then, in IPC Manager:

1. Launch IPC Manager. If necessary, click the load toolbar icon to open a previously saved project.
2. Open the IPC workflow screen. Click the **import** toolbar icon. An import dialogue window will be displayed.
3. Click the load file button to display an explorer file open dialogue window. Navigate to the import spreadsheet (e.g. ipc-import.xls) and click open.
4. When the spreadsheet is loaded into the dialogue check that all the column values appear to be correct and that the file has been parsed correctly.
5. When importing pay special attention to the number of records imported, compare this to the number of IPCs in your list. If there is a difference then the import process has not imported everything.
6. Click the import button to import the IPCs to the project, the number of records imported will be displayed.
7. If prompted to import a schedule as well you can click no unless you have a predefined schedule spreadsheet. To import one, click yes then select the spreadsheet from file explorer. The IPC names must correspond to valid IPC names in the IPC import spreadsheet.

## Create a schedule set

A collection of individually scheduled IPCS is called a Schedule Set. A project can have more than one schedule set. In this way schedules can be set up for different seasons or for other purposes such as alternating between watering and effluent dispersal at different times of the year. When a new project is created a default schedule set is defined.

1. Right click the title bar of the schedule set and select **new schedule**.
2. Define a name for the new schedule, enter the number of days in the cycle, and enter a default IPC operating duration (typically 30 minutes).
3. Select either IPC name or Serial number radio buttons to decide if IPCs are to be placed according to their name or serial number (typically name is used). Click **create**.
4. Now tick the checkbox of whichever schedule you now want to modify with IPC device schedules.

## Schedule IPCs

**Quick scheduling**: This method is well suited to systems with little complexity in the scheduling requirements and at most 48 IPCs in each zone. The quick scheduling method automatically sets the watering time to 30 minutes (hence 48 units can be watered in a 24-hour period). Quick scheduling works on all days in the cycle at once, so beware of accidentally modifying already scheduled units when selecting schedule options.

**User-defined scheduling**: User defined schedules enable more control over the duration of a schedule event and the starting time as well as the day of the cycle. For user defined scheduling the defined starting schedule time is specified in a dialogue box for the first IPC in the selected group and all remaining IPCs in the selection follow in contiguous time slots of the same duration.

Both user defined and quick schedule processes include schedule rules to modify how the IPCs will be placed in the timeline:

| Rule            | What it does                                                                                                                                                                                                                                                                 |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Override        | The selected IPCs will be scheduled into the defined timeslots and replace any IPCs previously scheduled in those slots.                                                                                                                                                     |
| Insert          | The selected IPCs will be scheduled in the defined time slot moving and if any IPCs have been previously scheduled in those slot(s) they will be moved in order to the next available slot. This has the effect of inserting IPCs and pushing the rest down (later) in time. |
| Append          | The append option is used to avoid overriding prior scheduled IPCs. If this option is chosen the selected IPCs will attempt to schedule at the defined time and skip full (prior scheduled) time slots until a free time slot is found then will continue scheduling.        |
| Do not schedule | This option is used to avoid accidentally scheduling IPCs when there is not a space in the schedule at the desired time for them. In this case if there isn't a time slot available then the scheduling of that IPC is ignored.                                              |

## Adjust the schedule

* **Select IPCs**: When selecting IPCs from the IPC list the SHIFT and CTRL keys modify the selection much as they do in applications such as Microsoft Excel or Word. Other selection options are available by right clicking on an IPC in the IPC list, such as select all items in Sublateral n, select all items before this and select all items after this. To work with a subset of the zones the Zone list check boxes can be deselected to show fewer zones in the schedule view.
* **Alter duration**: Having made a selection of IPCs from the schedule view the schedules can be modified to increase or decrease the operating times. The time periods can be modified by a fixed amount (in minutes) or as a percentage of the currently defined operating time for the IPC. Instead of increasing or decreasing the schedule the entire selected set can be given a new time altogether by clicking the overwrite radio button and entering the new duration required.
* **Drag**: Clicking an IPC will select it and display editing handles. Hovering the mouse over a handle will display a double headed vertical arrow which is used to drag the edge of the schedule to increase or decrease the operating duration. Hovering the mouse over the centre of a selected IPC will show a four-headed arrow which can be used to drag the IPC to a new position (start time) in the day.
* **Hover**: To quickly check the schedule that an IPC has been given, hover the mouse over the IPC in the schedule view and the Start and end times for the IPC will be displayed. Double Clicking on an individual IPC in the schedule view will open a dialogue to change the start and stop times for the IPC.
* An alternative timeline view can be selected, which shows each zone as a row and the timeline for operations on the horizontal scale, with each day of the day cycle displayed contiguously. Right click on the time scale and select Time line view to choose this viewing option. To revert back to the default view right click and select day view.

**Fill a day evenly.** For example: 50 units are in a zone and it is desired to water as evenly as possible over the day. 50 units spread over 1440 minutes equals 28.8 minutes per unit but the system can only be scheduled in a whole number of minutes. Therefore 50 units are scheduled at 28 minutes giving a total of 1400 minutes leaving 40 minutes spare. Use the user defined schedule to schedule all the units in the zone to 28 minutes starting at midnight (00:00). Right click in the schedule to select all units on and after the 10 unit (40 units are selected). Right click and choose alter duration. Click the "increase" radio button. Click the "fixed time" radio button. Change the value to 1 (minute) (the default is 10). Click proceed. The duration of 40 units will increase by 1 minute to 29 minutes from 28 and the entire zone will start watering at midnight and water until midnight (24 hours).

Take care when increasing by a fixed time that schedules close to midnight are not removed or truncated because schedules are truncated if they overlap beyond midnight. Beware that reducing a number of consecutive schedules will change their start time so that gaps between schedules are eliminated. The user is also prompted to join all later schedules to remove gaps or to simply leave a time gap.

## Next

* [Export to the EP3 or INC](https://help.qtech.co.nz/water-insight/ims-and-gateways/ipc-manager/export.md)
