Good Morning,
VIa WinCC OA is there any possility to write a directly event log of WinCC OA (LOGIN/LOGOUT) to Windows event log?
For example between a script dedicated.
Best regards
Event log Windows
- dbindernagel
- Posts:161
- Joined: Mon Feb 23, 2015 1:34 pm
Re: Event log Windows
I have never tried this myself but maybe it helps:
On Windows you can use the "eventcreate" command to add entries to the eventlog.
(Just enter "eventcreate /?" into a command line for the syntax.)
You could call this command in WinCC OA with the CONTROL function "system()".
(See WinCC OA help file for more info about the "system ()"function.)
On Windows you can use the "eventcreate" command to add entries to the eventlog.
(Just enter "eventcreate /?" into a command line for the syntax.)
You could call this command in WinCC OA with the CONTROL function "system()".
(See WinCC OA help file for more info about the "system ()"function.)
- orla090978
- Posts:55
- Joined: Thu Jan 03, 2019 2:05 pm
Re: Event log Windows
Thank you so much! it works!