Overview
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):
- Go to the Step within the app where you would like to add a timer (or go to the Base Layout)
- Select the Text option on the Tool Bar.
- Select Variable
-
In the Side Pane, select App Info as the Datasource
-
Select Time Elapsed on App, or Time Elapsed on Current Step, as the App Info
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.
Edit Step and Process Timers
Step Cycle Time
-
Click on the step for which you would like to update the Step time.
-
In the Step Tab, click into Step Cycle Time in the Side Pane.
-
Edit the time.
-
Click the green check mark to confirm your input.
Process Cycle Time
The Process Cycle Time is set as the sum of the Step Cycle Times, however, it can be edited the same way as the Step Cycle Time. There is one exception though, Process Cycle Time is a feature of the process and not the Step and hence will be found under the “Process” tab.
Step timer widget
- Click on the step for which you would like to add a step timer.
- Click Embed, and select Step Timer
The following Side Pane will open:
- Title: Name your timer
- Time Duration: Select either your Step Cycle Time or App Cycle Time
- Target Time: Set the target time of the timer. To statically set the timer, select Static Value or App Info. To dynamically set the timer select Tulip Table Record, or Variable.
- Warning At / Overtime At: Set warnings for your timer
Set Target Cycle Time
To set the Target Cycle Time for an individual step, click on the step, and select the Step Tab from the Side Pane. Next, edit you Step Cycle Time
To set the Target Cycle Time for an entire app, select the App tab from the side pane.
Your App's Target Cycle Time, or you Process Cycle Time can be set to be a custom length, or the sum of your step's times.
Use 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"
Further Reading
Did you find what you were looking for?
You can also head to community.tulip.co to post your question or see if others have faced a similar question!