You can use Scheduler to trigger event archiving. However, the steps needed to complete this task will differ if the system you are running is in single process or multi-process mode.
If you attempt to trigger archiving in multi-process mode, Scheduler needs to invoke a custom Cicode function that includes the following:
Login (Username, Password);
SOEArchive()
Follow the instructions outlined in Configure Equipment for Scheduling to define new Equipment. The Equipment name can be any name specified by the user.
Follow the instructions outlined in Equipment State Properties to define the 'Trigger' and 'OFF' states for the newly added equipment.
To trigger archiving in single process mode:
Note: For archiving to succeed in single process mode you need to log in to a display client in Runtime.
When the time transitions for this scheduled task, SOEArchive() will be called and archiving will be triggered.
To trigger archiving in Multi Process Mode:
FUNCTION ArchiveMyData() Login("Engineer","citect"); SOEArchive(); END
Published June 2018