In Tulip, you can create two types of timers within an individual app:
- Timers that count up from 0:00
- Timers that count down from a predetermined number
These timers can track time at two levels:
- Time spent on an individual step
- Time spent in the entire app
Here's how to create these timers. Both timers only reset when an app is "completed" or "cancelled". The amount of time spent in the app is also automatically stored when an app is completed or cancelled. Read more about the app completion concept here.
Create A Timer That Counts Up
In order to add a step or process timer that counts up (or increases):
1- Go to the step within the app where you would like to add a timer (or go to the Master Layout)
2- Select the 'Text' option on the Tool Bar.
3- Select 'Variable'
4- Select 'Time Elapsed on App' or 'Time Elapsed on Current Step' from the Variable option in the right hand Context Pane under the section "Variable".
This timer will automatically begin counting as soon as an operator opens the app or step in the Tulip Player.
Create A Timer That Counts Down
The Step Time (or Step Cycle Time) refers to the time that an operator should take to complete all activities in the step and move to a new step.
Similarly, the Process Time or (Process Cycle Time) refers to the time that an operator should take to complete all activities in the app being run.
The following steps will guide you through updating the Step Cycle Time:
Editing Step and Process Timers
1- Click on the step where you would like to update the step time.
2- Add a "Step Timer" by clicking the "Timer" button in the Tool Bar.
3- Click into the 'Step Cycle Time' option in the Context Pane on the right hand side under the “Step” tab.
4- Edit the time.
5- Click the green check mark to confirm your input.
By default, the Process Cycle Time is set as the sum of the Step Cycle Times. It can be edited in the "App" tab of the Context Pane.
Using Timing Values In Triggers
You can store the amount of time spent on a specific step or on the entire app in a variable or table record.
Here's an example of a "Then" statement that stores the amount of time spent on a step when an operator presses a button:
- "Data Manipulation" "Store" "App Info" "Time Elapsed on Current Step" location "Variable"