Go to Next Mimic in Sequence

You can use a script to cause the Mimic display to show the next Mimic in a sequence ('chained' Mimics). When a user selects the relevant Mimic item, the next Mimic in the sequence is displayed in place of the current Mimic.

The script for displaying the next Mimic in a sequence is Mimic.GoForward, for example:

Mimic.GoForward

GoForward provides the same functionality as the Forward button on the Quick Access Toolbar.

The script has no effect if the current Mimic is not part of a 'chain' of Mimics. The next Mimic can only be shown if there is a sequence (the sequence is created when hyperlinks to other Mimics are selected on a Mimic).

Example:

A Mimic named 'Pump 1' is on display. It contains a hyperlink to another Mimic called 'Pump 2' and a button named 'Next'. The 'Next' button is configured to have a script pick action that is associated with a 'NextMimic' function. The script for the 'NextMimic' function includes:

Public Function NextMimic

Mimic.GoForward

End Function

On the 'Pump 1' Mimic, an operator selects the hyperlink and the 'Pump 2' Mimic is shown in place of the 'Pump 1' Mimic.

The 'Pump 2' Mimic contains a button that, when selected, causes the previous Mimic in a sequence to be displayed. This button is associated with a script that includes:

Public Function PrevMimic

Mimic.GoBack

End Function

When the button on the 'Pump 2' Mimic is selected, the script is run and the GoBack function is performed. This causes the Mimic display to navigate back to the previous Mimic in the 'chain'—the 'Pump 1' Mimic.

The operator selects the 'Next' button on the 'Pump 1' Mimic. The script is run and the next Mimic in the sequence is displayed—the 'Pump 2' Mimic is shown again.


Disclaimer

ClearSCADA 2017 R2