# Add the OnShutdown, OnStartup and OnTrigger Tasks and Task Mode

By default, each new project contains one Task and its accompanying Task.

1. Rename the default Task as "OnShutdown" by right-clicking the Task node in the Project Explorer and selecting Rename.

2. Select and right-click the Tasks node in the Application Explorer, and select New Task.

3. Rename the new Task as "OnStartup".

4. Repeat steps 2 and 3, and rename the last Task as "OnTrigger".

5. After the Tasks have been added, set the Task Mode for each Task.

   Note: For more information about the Task Mode, see the Task Mode topic.
6. Right-click the OnStartup Task, and from the right-click menu, select Properties.

7. Set the Task Mode to Manual.

8. Also set the OnShutdown Task to Manual.

9. For the OnTrigger Task, set the Task Mode to Event, and select Devices.{CardName}.FfpTriggerAcquisition0 from the drop-down menu.