To alex3000plus:
Прошу прощения за обилие албанского текста
1. HistTrend shows a flat line on all pens after a certain time.
PC power off or some hardware failure caused corrupted files.
Improper shutdowns can corrupt the historical log files or the entire app. Example: Data won't show up or there will be a gap/black area in the Trend, then the data will how up correctly after new files are generated.
To reduce the risk of corrupting your Wonderware® InTouch™ application, always close WindowMaker and WindowViewer before you turn off the power to your computer. If you turn the power off while your InTouch application is still running, then the application files that are open may become corrupt. You may end up with an unusable InTouch application and hours of lost work!
In general, Technical Support recommends that you should always close your applications and properly exit Windows to the DOS environment before you turn off the power. Also, you should frequently back up your InTouch applications in case it should later become corrupted
Test the historical log files for corruption by deleting, renaming or moving the .LGH and .IDX files.
Rename or move the current day's LGH and IDX and run View. The Historical Trend will now display data if the file was corrupt. Note: Data collected on the same day prior to the above procedure will be lost.
2. Historical Logging stops trending; pens are flat-lining.
Corrupt historical log file for a specific date. Something must have occurred such as a power failure or improper shutdown of the machine. There are any number of ways that this could have happened.
Delete the corrupt .LGH and corresponding .IDX files, then restart WindowViewer.