Two Data Logger view Simultaneously

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

Post Reply
aak
Jr. Member
Jr. Member
Posts: 4
Joined: 16 Apr 2025, 13:48

Two Data Logger view Simultaneously

Post by aak »

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

User avatar
Support Team
Hero Member
Hero Member
Posts: 3268
Joined: 18 Mar 2011, 15:09

Re: Two Data Logger view Simultaneously

Post by Support Team »

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).
Best regards
Unified Automation Support Team

Post Reply