I am attempting to create a custom log file which will log a specific event which throws an error.
Ideally I would like to capture the error line displayed to the console, picture below. (relevant part is highlighted in yellow)
From talking to customer support, this is not possible - so that leads me to my next point.
I am capturing a historical log, using the snippet of code shown below.
My problem arises when I go to view the log file, and it is “generic”.
The files contains the following line:
“TagId”;“TimeInt”;“TimeStr”;“IsInitValue”;“Value”;“IQuality”
I am assuming there is a way to get those values to contain real information rather than placeholder variables. I also tried to use an event log export block descriptor rather than historical log, and the file contained the following line:
“EventTimeInt”;“EventTimeStr”;“EventStr”;“ThreadStr”;“ThreadId”;“Event”
So essentially the same issue, with a different set of variables.
How do I get these variables to populate with “real” information?
Thank you in advance!