Custom Event Visualization+ for AVEVA PI Vision

PI Vision event frame visualizations written by AI

Describe the view you need, let an AI write it, and run it in PI Vision on the event frames of your search: a timeline per asset, downtime cards or a Pareto chart of stop reasons, without a dedicated symbol or programming.

Three Custom Event Visualization+ documents in PI Vision, each written by an AI: an event timeline of 680 event frames on four lines with Assembly Step, Downtime, Line State, Run Mode and Shift Log events; downtime cards per asset ranking Line 9 and Line 7 with their current stops; and a downtime Pareto chart by reason with a cumulative line
An event timeline, downtime cards per asset and a downtime Pareto chart, each an AI-written Custom Event Visualization+ document. Demo data. Select the image to enlarge.

AI-written event frame visualizations for PI Vision

Get the event view your team asks for in minutes: the symbol hands an AI everything it needs, and you check the result before it goes on the display.

Copy the AI prompt, paste the answer, check the preview

The symbol writes the prompt for you, so an AI that your company allows can produce a working document on the first try.

  • Copy AI prompt includes the event search, every column with its type and the attributes.
  • Include sample rows adds five event frames to one copy only, so the AI sees what the data looks like.
  • Run shows the draft on the current event frames, and Output lists any errors before you apply it.
  • Ask for one change at a time with Copy AI prompt (change).
Custom Event Visualization+ code editor in PI Vision: an HTML document on the left, the preview of 65 downtime events of Line 7 with event, asset, start, duration, reason and reaction on the right, an empty Output, and the buttons Include sample rows, Copy AI prompt, Copy error report, Cancel and Apply
Code editor with the AI prompt, the preview and the output. Demo data. Select the image to enlarge.

Start from a working list of your event frames

A new symbol shows its event frames right away, so you can check the search before you ask an AI for more.

  • The starting example lists the event frames of the display time range, newest first.
  • Each row shows the asset, start, duration and the first attributes.
  • Event frames that are still open are marked in progress and grow with every reload.
The starting example of Custom Event Visualization+: 65 downtime events of Line 7 with event name, asset, start, duration, reason and reaction, the newest one in progress
The starting example on downtime event frames of Line 7. Demo data. Select the image to enlarge.

Visualize the PI event frames you already search for

The document works on the event frames of a normal PI Vision event search and the attributes you pick.

Event search and attributes in the pane

Choose the event frames with the search editor PI Vision users know, and drag in the attributes the document needs.

  • PI Vision’s own Search Criteria editor: database, template, assets, time range, attribute values and more.
  • Attributes dragged onto the symbol become columns of the data, in the order you set.
  • Event frames reload when the search, the display time range or the display asset changes.
  • Open event frames update every minute, or at the search’s update rate.
Events settings of Custom Event Visualization+: the search summary Template Downtime, Assets Line 7, Time Range Display time range, the Search criteria button, the attributes Reason and Reaction, and Ignore Master Off
The event search and the attributes the document receives. Demo data. Select the image to enlarge.

Interactive event frame dashboards with Event Filter+ and Events Table+

Make the AI-written views part of an interactive event dashboard: they follow the filters on the display and can drive other symbols.

Event Filter+ narrows every visualization at once

Operators click a value in Event Filter+ and every Custom Event Visualization+ on the display shows only the matching event frames.

  • No new search: the selection narrows the event frames the documents already have.
  • A document can show how many event frames of the total are shown.
  • Ignore Master keeps one symbol on all event frames, for example to compare selected against total.
Mechanical Failure|Jam selected in Event Filter+ on the right, and the event timeline, the downtime cards per asset and the Pareto chart showing only the 39 Jam stops
One click on Mechanical Failure|Jam narrows the timeline, the cards and the Pareto chart. Demo data. Select the image to enlarge.

A click in the document filters an Events Table+

Let operators click an event frame in the visualization and see its details where they review event frames.

  • The document publishes the clicked event frames, and an Events Table+ on the same channel shows only them.
  • Clear selection brings every event frame back.
  • A document can open the event frame details dialog, for example on a double-click.
  • The symbol itself only reads event frames and changes nothing in AF.
A selected event frame on the event timeline with its tooltip and the Clear selection button, and on the right an Events Table+ showing only that event frame
A click on the timeline selects an event frame, and the Events Table+ shows only that one. Demo data. Select the image to enlarge.

PI Vision event frame visualization examples

Four views teams ask an AI for with Custom Event Visualization+.

Event timeline per line

Data
Event frames of several templates on four lines
Settings
Search on the lines, attributes such as Reason; request a timeline with one row per asset and a legend per template
Shows
What happened on each line and when, with a tooltip per event frame

Downtime cards per asset

Data
Downtime event frames with a reason
Settings
Request one card per asset ranked by downtime, with the current stop
Shows
Which lines lose the most time and which are down now

Downtime Pareto by reason

Data
Downtime event frames with a two-level reason
Settings
Request a Pareto chart of hours per reason with a cumulative line, a click selects the bar’s event frames
Shows
The reasons that cause most of the downtime

Drill to the details

Data
Any event frames, plus an Events Table+ on the same search
Settings
Linked output on the selection, Linked Input on Id in the table
Shows
A click in the view shows that event frame in the table

Watch the Custom Visualization+ AI workflow

Custom Event Visualization+ shares its code editor, AI prompt and preview with Custom Visualization+. This demo shows that workflow on live PI values; Custom Event Visualization+ applies it to event frames.

Custom Visualization+ product demo, showing the shared AI workflow. Demo data.

Custom Event Visualization+ FAQ

Questions we are asked most often. Read the Custom Event Visualization+ documentation or ask a technical question.

Which AI do we need?

Any AI chat your company allows. Custom Event Visualization+ copies a prompt with the event search, the column names and types and the attributes; five sample event frames are added only when you turn on Include sample rows for one copy. You paste the AI’s answer back into the code editor and check it in the preview.

When should we use it instead of Event Analytics Chart+ or Events Table+?

Use Custom Event Visualization+ when you need a view no event symbol offers, such as a timeline per asset or a card per line. Use an Event Analytics symbol when a ready-made chart or KPI of the figures is enough, and Events Table+ to review or edit individual event frames.

Does it change event frames?

No. The symbol only reads event frames. A document can open the event frame details dialog, where the viewer can edit the event frame with their own PI permissions, but it cannot acknowledge, annotate or change event frames itself.

Who is responsible for the generated code?

You own the documents you or an AI write and their correctness on live operations. Software Athlete supports the symbol and its document functions. Compare a few figures with an Events Table+ on the same search before operators rely on a new document.

What do we need to run it?

PI Vision 2021 or later with PI Web API, PI AF Server 2018 SP2 or later, Event Frames in AF, and Vision Library+ 2.3 or later with its frames folder installed by the administrator. It runs in PI Vision and uses each user’s existing PI permissions.

How do we get Custom Event Visualization+?

Custom Event Visualization+ is part of Vision Library+, together with the other Vision Library+ symbols. Request a trial to test it in your own PI Vision environment.

Try Custom Event Visualization+ in your PI Vision

Custom Event Visualization+ is included in Vision Library+, the PI Vision custom symbol library from Software Athlete. Test it on your own displays and data.