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.
To add an event command to calibrate the touch screen
    1. Select the graphic element configured with the touch or key event.
    2. In the
      Properties
      pane on the
      Events
      tab, select
      Add Command
      .
    Expand the
    HMI Device Configuration
    category and select
    Calibrate Touch Screen
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal