Add an event command to calibrate the touch screen
Add an event command to calibrate the touch screen of the HMI device. The
Calibrate Touch Screen
command displays a red target on the screen of the HMI device. At runtime, press and hold the center of the target until the target turns white and another red target appears. Continue pressing and holding the centers of all remaining targets as they appear. All processed targets are replaced with white targets. A green circle with a check indicates a successful calibration. A red circle with an X indicates a failed calibration. If a red circle with an X appears, perform the event again to calibrate the screen.
Prerequisites
Create an event to trigger the command:
- Touch press.Occurs when touching the item on the screen that is configured with the event.
- Touch release.Occurs when releasing the item on the screen that is configured with the event.
- Key press.Occurs when pressing the specified key.
- Key release.Occurs when releasing the specified key.
- Button behaviorOccurs when releasing the button.
- Project eventOccurs when the executing condition is met.
- Select the graphic element configured with the touch or key event.
- In thePropertiespane on theEventstab, selectAdd Command.
- Expand theHMI Device Configurationcategory and selectCalibrate Touch Screen.
Provide Feedback