Is there a way to add comments in ProcessAnalyst linked to a timestamp?

Hello everybody,

I have a trend in process analyst looking like this:

Every occurrence that the line stops, indicated in GREEN->RED status bar at the bottom of the trend, the operator should enter a reason why he stopped like BREAK or Product change.
This reason should be linked to the specific timestamp of the occurrence.

Is there a way to achieve this:

If not, is there another creative way to accomplish this?

Regards,

Jan Lonij

  • Hi Jan, there no native way in the Process Analyst to add comments to trends or alarms. I believe in your case that's an alarm.

    As for creative, well I'm not sure there is a viable approach either. Perhaps someone on this forum has done something similar., or could build on this concept below.

    What we do have is AlmComment, which can add a comment into the SOE for a particular event record. This function can write to the SOE. Internally, the Process Analyst is using AlmQuery, which you can call via Ctapi and uses soe data. The problem comes on how you mesh those worlds together. Because AlmComment is designed to work with the alarm list displays. AlmQuery requires you writing a C/C++ Dll and is on raw data.

    Assuming you worked out how to do that (would be the crux point)... you would then need to retrieve it and display it.  AlmQuery also returns the latest comment for each record representing a time period of samples so that should be fine. The PA does not have anyway to overlay data (or customize the cursor) to display the data. So the only alternative would be to add a custom column to the grid below and update it based upon a Trend Cursor moving over the alarm trend.

    BTW come to think of it...you could probably use the ctapi AlmQuery approach for your traffic light display you asked about in a previous post... as that would allow you to get the samples exactly likely the PA and parse them out. Double querying of course....

  • Hi  ,

    I don't think this feature is supported by Process Analyst by default, it would require some customization and code to achieve.

    I would suggest making a post on the Plant SCADA AHA forum, to raise an enhancement request: https://plantscada.ideas.aha.io/

    There might be others in the community that have implemented something similar to this and they can share their approach. Fingers crossed.

    Kind regards

    Olivier