Set up data logging destinations
Use the
Paths
tab to set up where data is stored. Normally data is logged to the primary path. Logging switches to the secondary path (if one has been specified) only if the primary path cannot be accessed, for example, if the network connection to the primary path fails or the disk on the primary path is out of space.- If the data log file is locked by another program, data is buffered for theMaximum time to buffer data before attempting switchover, which is set up in theAdvanced Configurationdialog box, and then a new set of files is created on the primary path. If theMaximum time to buffer data before attempting switchoveris set to 0, a new file is started immediately. If the secondary path is not set up, the data is buffered for 10 minutes.
- If the model is logging to the secondary path and the file is locked, the behavior is the same: the data is buffered, and then a new file set is created when the specified time period has elapsed.
- If you specify a customized path, add the userLOCAL SERVICEto the security of that folder on both the primary and secondary HMI servers (or any other computer that folder resides on) and give the user full control. For more instructions, see Knowledgebase Document ID: BF22544 - HMI Server Stuck at Starting or Not Loaded.
To set up data logging destinations:
- In theData Log Modelseditor, in thePathstab, in thePrimary Patharea, specify the primary path where you want to store the data log files.
- In theSecondary Patharea, selectEnable Switchover to Secondary Pathif you want to turn on logging to a secondary path if the primary path cannot be accessed.
- Specify the secondary path where you want to store the data log files.
- Click Advanced to open theAdvanced Configurationdialog box and specifySwitchOverandSwitchBacktimes.
Provide Feedback