Triggers

The trigger allows you assign an event to the widget. The events gets triggered when you do the action assigned to the trigger.

Usage:

To add triggers to your widgets, do the following:

  1. Click Triggers to add triggers to your widget.
  2. Click Event drop-down and select one of the following Events.
    1. Mouse events includes: Click, Double Click, Right Click, Mouse Over, Mouse Out, and Mouse Wheel.
    2. Load and Unload of the widget.
    3. Timeout - if there is a dead time for a widget to load, it is possible to trigger an event when the dead time crosses the limit set.
    4. Interval - This event is triggered after a certain interval from the time the widget gets loaded.
    5. Variable Data change - This event is triggered when the assigned variable data changes. You will be able to skip the initial data change by checking the Skip initial data event checkbox. It is possible to add a condition and make the trigger to execute only if it satisfies a condition. Check Condition, to execute a trigger based on a condition and provide the condition.

  3. Click Create Action and do one of the following:
    1. Select Navigate and choose the display to navigate. You will be able to navigate to an external link or open a file. To open the URL in a new tab, click Open in New Tab.

      To open a file, the file must be copied into the ../staging/www directory. The URL that links the file is in the following format: http://ipaddress:port/filename.extension. For instance, if the computer that is running deviceWISE is on 10.123.61.100 and listening on port 8083. Place the file in the ../staging/www directory and change the external link to http://10.123.61.100:8083/<filename>

    2. Select Write Value to write a value to a variable.
    3. Select Fire Trigger to choose a Project and an associated Trigger.
    4. Select Fire Subtrigger to choose a Project and an associated Subtrigger.
    5. Select Info Bar and type in a Message that will be shown when you click on the widget.

      You will be able to bind triggers or projects dynamically by using ${<project/triggername>}

    6. Select Open Modal, select the display to open, assign a Unique Id and enter the modal display options. You will be able to select displays from a different gallery.
    7. Select Close Modal, select the display to close by providing the Unique Id.
    8. Select Wait and enter the number in milliseconds. The widget will wait for the so many milliseconds before doing further actions.
    9. Select Fullscreen, to enter full screen(F11).
    10. Select Fullscreen Exit, to exit full screen(F11).
    11. Select Audio, and then select one of the following Type.
      • If you select Sound, provide the Audio URL. Adjust the Volume and Playback Rate as per your need. Check Loop to repeat the Sound.
      • If you select Speech, select the Voice and enter the Text it needs to read. Adjust the Rate, Pitch, and Volume as per your need.
    12. Select Vibrate and enter the Vibrate and Pause intervals to create a vibration pattern.

Related Topics Link IconRelated Topics