Difference between revisions of "DataConnectIT:Appendix Log Values Service"

From Nolek Wiki
Jump to navigation Jump to search
Line 406: Line 406:
 
|Write
 
|Write
 
|SQL
 
|SQL
 +
|-
 +
|}
 +
 +
====7.2.2.3 Change IDs====
 +
{| class="wikitable" style="text-align:center|"
 +
!colspan="4"|ChangeIDs
 +
|-
 +
|'''Change ID'''
 +
|'''Change Description'''
 +
|'''Method'''
 +
|'''Class'''
 +
|-
 +
 +
|2000
 +
|
 +
|
 +
|
 +
|-
 +
|2001
 +
|
 +
|
 +
|-
 +
|2002
 +
|Demo expired
 +
|GetDemoTimerStatus
 +
|LicenseHandler
 +
|-
 +
|2003
 +
|Client sent a new Configuration file.
 +
|StreamWithClient
 +
|PipeClientStream
 +
|-
 +
|2004
 +
|Client updated Log path to (newpath)
 +
|StreamWithClient
 +
|PipeClientStream
 +
|-
 +
|2005
 +
|Client updated Log format and degree to: (logFormat),  (Logdegree). + (success or not)
 +
|StreamWithClient
 +
|PipeClientStream
 +
|-
 +
|2006
 +
|
 +
|
 +
|
 +
|-
 +
|2007
 +
|Client stopped the upload process
 +
|Write
 +
|SQL
 +
|-
 +
|2008
 +
|"Client updated DeviceTimeOut(timeOutTime): "" +  (success or not)"
 +
|StreamWithClient
 +
|PipeClientStream
 +
|-
 +
|2009
 +
|Client started again the Trigger Process
 +
|StreamWithClient
 +
|PipeClientStream
 
|-
 
|-
 
|}
 
|}

Revision as of 14:23, 4 September 2019

7.2.2 Log Values Service

7.2.2.1 Client Setting

Client Setting
Log setting from client # Error Other Change Alert Always '
(Warning)
None 1 x
Only Errors and warnings 2 x x x
All changes 3 x x x x Default
Everything 4 x x x x x
Alert type
Notification Setting from client # 0 1 2 3
Always Info Warning Error
None 1 x
Only Errors 2 x x
Only Errors and warnings 3 x x x
All changes 4 x x x x

7.2.2.2 Debug IDs

Debug IDs
Debug ID Debug Description Method Class
1000 Temporary file deleted DeleteTempFile ConfigMethods
1001 Did not read succesfully from group's specified OpcServer ReadItemValuesFromGroup GroupPropertiesModel
1002 Checking: Is another thread currently trying to connect to OPC RepeatConnectionAttempt OPCMethods
1003 Repeat Connection Attempt was called. Checks If OPC is Currently Connected RepeatConnectionAttempt OPCMethods
1004 Trying to connect to Opc Server: (opcServerName) RepeatConnectionAttempt OPCMethods
1005 Connected, informing the other threads. RepeatConnectionAttempt OPCMethods
1006 Setting thread connecting to false (next triggerprocess that loses opcConnection will know to connect by itself) RepeatConnectionAttempt OPCMethods
1007 Another thread is trying to connect, waiting till it's done RepeatConnectionAttempt OPCMethods
1008 Resuming (when a thread has reestablished OPC connection) RepeatConnectionAttempt OPCMethods
1009 End of repeat-connect attempt. Checking if something is still trying to connect (should be false) RepeatConnectionAttempt OPCMethods
1010 Shows Stored procedure commandText, group items count, CommandTimeout setting ExecuteSqlRead DBCommunnicator
1011 Try to connect to opcServer from Read in OPC READ Read OPC_Read
1012 Try to connect to opcServer from Write in OPC READ Write OPC_Read
1013 Try to connect to opcServer from ReadTags in OPC READ ReadTags OPC_Read
1014 Try to connect to opcServer from READ in OPC WRITE Read OPC_Write
1015 Try to connect to opcServer from WRITE in OPC WRITE Write OPC_Write
1016 DB Writing: (all item names and values for the group) ExecuteSqlWrite DBCommunnicator
1017 Retrieved following response in OPC WRITE (not 1) Write OPC_Write
1018 Try to connect to OpcServer ReadTags OPC_Write
1019 Trying to create a new alert pipe connection to the connected client ConnectToAlertPipe ClientAlerter
1020 Trying to create pipe alert ConnectToAlertPipe ClientAlerter
1021 Connection to Alert pipe: (true or false) ConnectToAlertPipe ClientAlerter
1022 Writing to Alert pipe: (message) SendAlert ClientAlerter
1023 Stream with (clientApplication) started StreamWithClient PipeClientStream
1024 "Connection to (DataConnectIT client Application) was lost, going to close the pipe-connection." StreamWithClient PipeClientStream
1025 Waiting for value from connected client... StreamWithClient PipeClientStream
1026 Received: (received string from client) StreamWithClient PipeClientStream
1027 Retrieved from Client (received string from client) StreamWithClient PipeClientStream
1028
1029
1030
1031 Trigger Process was running StreamWithClient PipeClientStream
1032 Alert pipe name received: (alertpipename) StreamWithClient PipeClientStream
1033 Ends the entire pipe commucation after an error StreamWithClient PipeClientStream
1034 Pipe created ServerThread ServerSetup
1035 Thread X waiting for connection to client. (first version only supports 1 client, so thread nr. is irrelevant) ServerThread ServerSetup
1036
1037 Sending first string to client ServerThread ServerSetup
1038 ClientName Connected to the service ServerThread ServerSetup
1039 Closing Pipe server ServerThread ServerSetup
1040 New client connected, current Clients connected: X ClientConnected ThreadHandler
1041 Client connected, max clients allowed: X ClientConnected ThreadHandler
1042 Service license: (licenceStatus) OnStart Service1
1043
1044
1045 Ready to accept first client OnStart Service1
1046 Trigger process started NewTriggerProcess Controller
1047 "ValueTag From OPC: X, Value of TriggerTag In OPC: Y" ExecuteValidation Helper
1048 (group): Trigger Value From OPC: (OPC ValueTag Value). Value From Config: (Validationtype of first group trigger) ExecuteValidation Helper
1049 Time that the response should be reset if nothing changed StartResetTimer Helper
1050 Group is active StartProcess TriggerProcess
1051 Group is not active. StartProcess TriggerProcess
1052
1053 Data stored in the BackUp Device SaveToXML XMLHandler
1054 The amount of the groups in the BackUp device ReadXML XMLHandler
1055 Delete the a row with the a specific GroupID DeleteFromXml XMLHandler
1056 SQL device delete from Backup device Write SQL
1057 Content of backup is empty, stop the upload process Write SQL

7.2.2.3 Change IDs

ChangeIDs
Change ID Change Description Method Class
2000
2001
2002 Demo expired GetDemoTimerStatus LicenseHandler
2003 Client sent a new Configuration file. StreamWithClient PipeClientStream
2004 Client updated Log path to (newpath) StreamWithClient PipeClientStream
2005 Client updated Log format and degree to: (logFormat), (Logdegree). + (success or not) StreamWithClient PipeClientStream
2006
2007 Client stopped the upload process Write SQL
2008 "Client updated DeviceTimeOut(timeOutTime): "" + (success or not)" StreamWithClient PipeClientStream
2009 Client started again the Trigger Process StreamWithClient PipeClientStream