Hi, In my setup, 2 devices are communicating with each other and i want to save logs for both devices at the same time so that i can compare their timestamps later. I am trying to do it through data logger view but i am unable to save 2 logs at the same time. please guide how can i capture timestamps from both devices simultaneously.
Regards
Two Data Logger view Simultaneously
Moderator: Support Team
- Support Team
- Hero Member
- Posts: 3268
- Joined: 18 Mar 2011, 15:09
Re: Two Data Logger view Simultaneously
Hi,
you can't. Each device/server has its own time source (hopefully synced). The OPC UA has 2 timestamps the the "source" and the "server" timestamp, to allow data sources that have their own time, to stamp the original value creation. Most implementations have no timestamp at the source, hence use the "server" timestamp for both, which is the time when the server has received the value from its source (best as it may get). This however can be different depending on the way the server obtains the data (event driven or scan cycle). That said the time might by synced in two servers, but certainly not their scan cycles, hence time stamp may be different.
If you have two servers that have both the identical source (e.g. redundant servers) and the source hase its own time stamping, than at least the source time stamps will be identical in both servers (independently of the time when the server has obtained the data).
you can't. Each device/server has its own time source (hopefully synced). The OPC UA has 2 timestamps the the "source" and the "server" timestamp, to allow data sources that have their own time, to stamp the original value creation. Most implementations have no timestamp at the source, hence use the "server" timestamp for both, which is the time when the server has received the value from its source (best as it may get). This however can be different depending on the way the server obtains the data (event driven or scan cycle). That said the time might by synced in two servers, but certainly not their scan cycles, hence time stamp may be different.
If you have two servers that have both the identical source (e.g. redundant servers) and the source hase its own time stamping, than at least the source time stamps will be identical in both servers (independently of the time when the server has obtained the data).
Best regards
Unified Automation Support Team
Unified Automation Support Team