How to edit StartTime and EndTime of an Historical Production run without using MES value editor (Ignition + Sepasoft)

Hi everyone,

I'm looking for a method to edit the StartTime and EndTime of a historical Production Run using a Sepasoft MES script. The MES Value Editor allows changes by selecting different tagCollectors types, but I need a script-based approach for automation.

I found a reference script(Link) in the Sepasoft manual that modifies newStartDate, but it doesn’t provide an option to update the endTime accurately. I have a UI with the following fields:

  • WorkOrder
  • Product Code
  • StartDate
  • EndDate
  • Infeed
  • Outfeed
  • Reject

My goal is to modify the StartDate and EndDate fields programmatically. Does anyone have a working script or an alternative method to achieve this?

Any help would be greatly appreciated!

Thanks!