Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This page presents information about Historian Diagnostics. This Historian Module relies on other modules when storing the to store Tags' data. For instance, the Dataset External Tags execute the data insertion for SQL targets, the final database insertion is executed by the Dataset ExternalTags; for external database. Meanwhile, to save data in external databases, such as Canary or ExternalTags External Tags Historian tools, the related third-party system will perform save the accessdata.

ThereforeAs the Historian module only manages the process, many potential issues regrind regarding data storage are not at the Historian Module level, but related out of the module's scope. Problems usually relate to the external database repository, which requires diagnostics with other specific tools , according to diagnose the Target Database. The execution status problem. Despite being out of the Historian module itself can be easily monitored using the Module Information diagnostic tools, scope, you can use the diagnostic tool from Module Information and the Trace Window tool as described in this pageto monitor the Historian module

On this page:

Table of Contents
maxLevel3


Local Diagnostic Tools

Module Information: Historian properties

The diagnostic tool Module from the Information module updates in real-time advanced information about the Execution execution of the Historian Modulemodule. Therefore, you can use this solution to monitor the state of connected databases.

By running the ModuleInformation.exe tool, the section Historian updates the following properties:

Module Information - Historian properties

Property

Example Value

Tables

2

Items

6

OpenStatusMessage

OK

IsDeleting

False

StoreAndForward.IsEnabled

0

UseStoreAndForwardDatabaseAlways

False

HasPairRedudantStoreAndForwardPending

False

Redundancy.LastSyncMessage


Redundancy.LastSyncTimestamp


Redundancy.LastSyncErrorMessage


Redundancy.LastSyncErrorTimestamp


StoreAndForward.IsFixingDatabase

False

StoreAndForward.FixDatabaseMessage


StoreAndForward.FixDatabasePercent

0

StoreAndForward.FixDatabaseElapsedTime

00:00:00

The names of properties are self-explanatory, but in many cases, its exact meaning requires a deeper understanding of the implementation of the module. Contact technical support sending the contents of the table for specific analysis. 

When selecting one Specific HistorianTable in the Tree under Historian, the following information is available:

Module Information - Historian Table properties
ItemValue Example
Table NameSystemMonitoring
Number of History Items6
Number of Rows842
InitializationMessageOK
Target
DisableFalse
TimeDeadband00:00:01
LifeTime31
SaveOnChangeTrue
SaveQualityFalse
NormalizedFalse
DeletingFalse
LastStoredTimeStamp7/29/2022 11:48:04 PM -03:00
LastStoredErrorMessage
LastDeletedTimeStamp
LastDeletedErrorMessage
LastSamplesSavedID: 842, UTCTimestamp_Ticks: 637947460841150000[7/29/2022 11:48:04.115 PM],
LogType: 1, NotSync: False,
ServerMonitorInfo_TServer__Memory: 155.2265625,
ServerMonitorInfo_TServer__CPU: 0,
ServerMonitorInfo_TRichClient_Memory: 60.98046875,
ServerMonitorInfo_TRichClient_CPU: 0,
ServerMonitorInfo_AllModules_Memory: 69.78515625,
ServerMonitorInfo_AllModules_CPU: 0
LastStepDuringSavingUpdate samples: OK
ErrorCount0
SuccessCount603
StoreAndForward.IsActiveFalse
StoreAndForward.NumberOfRows0
StoreAndForward.LastStartedTimeStamp
StoreAndForward.LastSyncTimeStamp

Historian TraceWindow

The TraceWindow diagnostic tool provides real-time logging of events connected with the Historian Module execution. 

Four level of message can be enabled.

Module Information - Historian properties

Diagnostic Level

Types of messages included

Info

Examples of events captured by this level:

Info > PropertyWatch > User logged.

Info > Module Information > User logged.

Info > RichClient > admin > User logged.

Info > Device > modbus > TRunModule.exe for channel modbus is stopped.

Info > TModules.OPCServer > User logged.

Warning

Review the application logs for any warnings.

Error

Review the application logs for any error messages.

Debug

Use debugging tools to inspect the state of the application at runtime

Example of Use of the SaveQuality Column

There are instances where the graph displays lines and values where there is no data. An example is on the Trending page in Factory Studio where we notice these instances in which we know there is no data, yet the graph displays a continuous line connecting the end and beginning of the points where data exists. If the user clicks on such areas, the cursor will show values that are misleading because it is known that there is no data for that particular moment.

It's possible to remove the line connecting the endpoint and the startup point on the graph, thus avoiding a continuous line where there is no data.

To do this, you have to enable a property called SaveQuality in your HistorianTable, as shown in the image below:

Image RemovedImage Removed

If there is no column with this option, you have to right-click on the top orange line and select SaveQuality. After this, you will be able to check the SaveQuality in the table you need.

The image below displays a graph without lines where there is no data.

Image Removed


In this section...

Page Tree
root@parent
spacesV10