0

Clicking on Events table n Axiom to open a display for the selected event

I'm trying and failing to do this using scripting in Axiom but maybe there's another way to do what I want (I'm running Canary V25.1)?

What I wanted was, within Axiom, to configure it so that when an event was clicked in an event table, it would open a screen showing the affected asset over the time of the event. Something like this pseudocode:

EventsTable1.OnEventClick(sender, eventInstance)
{
    if (eventInstance.Type == "Solar String Down Event")
    {
         OpenDisplay("Solar String Display", EventInstance.Source, EventInstance.StartTime, EventInstance.EndTime);
    }
}

 

But I find that the eventInstance object contains a constructor but nothing else so I can't access its type, source or start and end times. Likewise the sender object is the events grid but gives no way to find the details of the highlighted event. So I cannot get any of the details I need to pass to my OpenDisplay() function. I'm also assuming that such a function exists or can be written!

Is there any way, with or without scripting, do do what I want?

Reply

null

Content aside

print this pagePrint this page
  • 6 hrs agoLast active
  • 3Views
  • 2 Following