RobotStudio event

Auto Save Event Log Using RAPID

Has anyone been able to or know of a way to save the current event log using RAPID code?

I would like to save it about once a week to a .csv or .txt file, but haven't found anything that would save the event log without doing it manually. I know RobotStudio will "log to file" but I have to remain connected to the controller and have the event log tab always up in RobotStudio and I can't remain logged in all of the time.

Tagged:

Comments

  • soup
    soup ✭✭✭
    edited March 2019
    There's a RobotStudio Job to save the event log that would be a semi-automatic way.

    Similarly, I've had good luck using GetTrapData to create a custom log of only the events I cared about and uploading that to a server via FTP.
  • soup
    soup ✭✭✭
    should have said: "...IError and GetTrapData in a background task..."
  • In which routine should we write this piece of code?