Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
How to increase the resolution of server-side timestamps
May 11, 2018
16:32, EEST
Avatar
Mike.Stair
Member
Members
Forum Posts: 12
Member Since:
January 12, 2018
sp_UserOfflineSmall Offline

Hi,

Is there a way to increase the resolution of the timestamp when a value is written?

As can be seen below, the time resolution is in milliseconds
DataValue(value=1, statusCode=GOOD (0x00000000) “”, sourceTimestamp=05/11/18 10:29:17.2730000 GMT, sourcePicoseconds=0, serverTimestamp=05/11/18 10:29:17.2730000 GMT, serverPicoseconds=0)

I also have the same problem with the logs generated. Is there a way here to increase the resolution?

Thanks,
Regards
Mike

May 11, 2018
18:29, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I didn’t quite get it what you are doing or why this is a problem.

But if you create the DataValue yourself, you can provide the timestamps as you wish.

If you are concerned what they look like, you can of course use a custom print or custom format.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 737

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6450

Newest Members:

fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1