Start and stop historical logging at run time
- Last UpdatedJul 17, 2024
- 1 minute read
When an application is running, you can manually stop and restart historical logging with commands from the WindowViewer Special menu.
-
The Stop Historical Logging command stops logging for the duration of the current application session. Logging remains stopped for the current session until it is manually started again.
-
The Restart Historical Logging command restarts logging after it is manually stopped with the Stop Historical Logging option.
You can also add a button to your application and write a QuickScript that includes the $HistoricalLogging system tag to start and stop historical logging. Logging starts when $HistoricalLogging is assigned a value of 1. Logging stops when $HistoricalLogging is assigned a value of 0. For more information about the $HistoricalLogging system tag, see System tags.