Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Industrial Graphic Editor

Configure a pushbutton animation for a Boolean value

Configure a pushbutton animation for a Boolean value

  • Last UpdatedJun 28, 2024
  • 2 minute read

You can configure an element with a pushbutton to change a Boolean value.

To configure an element with a pushbutton animation to change a Boolean value

  1. Select the element.

  2. On the Special menu, click Edit Animations. The Edit Animations dialog box appears.

  3. Click the Add icon and select Pushbutton. The pushbutton animation is added to the Animation list and the Pushbutton state selection panel appears.

  4. Click the Boolean button. The Boolean Pushbutton configuration panel appears.

  5. In the Boolean box, type a Boolean attribute reference or browse for one by using the browse button.

  6. In the Action list, select:

    • Direct so the value becomes true when the element is clicked and the mouse button held. The value returns to false when the mouse button is released.

    • Reverse so the value becomes false when the element is clicked and the mouse button held. The value returns to true when the mouse button is released.

    • Toggle so the value becomes true if it is false and false if it is true when the element is clicked.

    • Set so the value is set to true when the element is clicked.

    • Reset so the value is set to false when the element is clicked.

    • Momentary Contact to configure a time-period to hold the set value. (The Momentary Contact action has not been tested on a non-English language Operating System. AVEVA OMI ViewApps and Web Client do not support this action.)

  7. If you select Toggle, Set, Reset or Momentary Contact as action, you can configure the action to be performed when the mouse button is released instead of pressed down. To do this, select On button release.

  8. If you select Direct, Reverse, Reset or Set as action, you can configure the value to be written:

    • Continuously by selecting Continuously while button is pressed. Also specify the frequency the value is to be sent, by typing a value in the Delay between value send box.

    • One time by clearing Continuously while button is pressed.

  9. If you select Momentary Contact then you can configure:

    • Pulse Type: From the drop down list, you can select True (default), false or Toggle.

    • Time Period: Enter an integer value between 500 and 5000 milliseconds to set the time the momentary contact animation will be held. Default will be 500 milliseconds.

      The Momentary Contact does not have preview and only displays "No Preview". However, a short description is displayed below the Preview area, while changing the Pulse Type.

    • For True (Default): TRUE on mouse action. FALSE after time period.

    • For False: FALSE on mouse action. TRUE after time period.

    • Toggle: On mouse action set to opposite of starting state. Set back to starting state after time period.

  10. Specify that the pushbutton action is executed by pressing a key or key combination. In the Shortcut area. Select a shortcut key in the Key list. Select CTRL and/or SHIFT to combine the shortcut key with the Ctrl key and/or Shift key.

  11. Preview the pushbutton run-time behavior by clicking Button in the Preview area.

  12. Click OK.

TitleResults for “How to create a CRG?”Also Available in