• Not Answered

Setting dynamic view filter in the BatchListView.grf

How do I set the filtering so that the BatchListView.grf graphic will list (display) only those batches and batch operator prompts that are pertinent to that operator station in a given plant area?  We would like to dynamically filter by workstation and do want to have a custom BatchListView for each operator station. We are currently using DeltaV 11.3.1. Can this be done with one grf?

6 Replies

  • Unfortunately the Active X batchlist control doesn't allow for filtering to be changed at runtime, it can only be configured and I don't think it has been changed in v12.

    Let me know if you are interested in how we have solved this for some customers in the past and I can give you an overview of what we did that satisfied their requirements.

    Regards,

    Matt

  • In reply to Matt Stoner:

    I am interested to know how this was resolved for other customers.

  • In reply to putelism:

    The easiest way to tackle this is to create a different batch view graphic for each workstation, with the active x control configured statically for the exact needs of that workstation.

    You can then create a single BatchView Graphic 'switchboard' graphic that will assess the current workstation/session name and replace the main display with the appropriate differentiated batch view graphic specific to the workstation.

  • In reply to Youssef.El-Bahtimy:

    Another way to Youssef suggestion is to create a variable(s) in User.fxg that have the name of the graphic(s) to open or just a prefix that gets inserted in the graphic name.

    • Keep in mind that buttons for the other graphics (Event Journal, Prompts List, Manual Phase, Batch Alarm, Active Phase Summary) need to also use the variable(s) to open the correct filtered graphic if you want those filtered as well.

    UserSettings can then be set to update the variable(s) based on workstation or set blank for a plantwide operator station. You can only use a single graphic for PFCView and Arbitration (no filter option) but you still have to modify the buttons on these graphics to open the correct graphics depending on the variable(s).

    Example:

    • For Buffer Area Only workstation, the variable would be set to "Buffer" and any button to open batchlist view would insert the variable which would open BufferBatchListView and this graphic was filtered to only show the Buffer Area.
    • For Common workstatation showing all areas, the variable would be set to "" and the buttons would open BatchListView

    As an added indication of filtering, we also changed the fill color for the Title box so each area had a unique color and here is a screen shot showing filtering and Title box:

  • In reply to Matt Stoner:

    Matt,

    What is the checkbox "Use Current Context" at the bottom of the dialog box? Is there scripting which could set the current context and then filter based on that?

  • In reply to putelism:

    Unfortunately it doesn't do want one would think and I don't think it does anything. Hopefully checking that box will be all that is required to address this issue in a future DeltaV release.