• Not Answered

Whats the difference between frszExpertReplacePic and frsReplacePictureOnScreen ?

Whats the difference between frszExpertReplacePic and frsReplacePictureOnScreen ?

1 Reply

  • The frsz expert is a configuration tool represented by an icon in Configure mode, and it facilitates creation of a script to replace a picture. It presents a dialog from which you can pick the action you want and creates the supporting VBA code and associates it with a click action on the selected object, such as a text field or an arrow.

    The frsReplacePictureOnScreen is a function that you can use in a custom VBA script to replace a picture at run time. You might have logic such that when something specific happens, you want a particular picture to be opened in one of the Display areas. The frsReplacePictureOn Screen could be a function that is used in the VBA script created by the frszExpertReplacePic.

    In BOL, search for DeltaV Operate Experts. You'll find an explanation of the dialog. But the main difference is that the frszExpert functions allow you to create custom actions on objects without having to actually code any VBA.

    The frs functions are used in your custom VBA scripts so you can roll your own customizations. Note that functions created by the frszexperts are structured and known to Emerson, which allows for these to be migrated automatically, since the function and structure are fixed. Custom script is not migrated and requires manual intervention to understand the intent of the code before one can determine how best to implement it in a new scripting language.

    So use the Experts in Configure when you can as this makes your display better supported moving forward.

    Andre Dicaire