Skip to main content
15-Moonstone
February 20, 2020
Solved

logging vlaues of a property

  • February 20, 2020
  • 2 replies
  • 2902 views

I have a property whose values are coming from kepserver(datas are simulated with sine function). I want to log those data for every one second. How to do this?

 

I have checked in the logged check box in properties, and in advanced settings, i have given Always as a data change type. Bu,t when i execute the "query named property history" service for last one minute it is taking 5 minutes delay to give the result and it is showing the values logged in milliseconds instead of seconds. 

Best answer by PaiChung

In your situation the best way to get a recording very second is to set that on the Kepware side.

The channel should feature a 'scan rate' which you can set to I think 1000 (milliseconds)

If you are transmitting every millisecond right now, then you are probably overloading the platform which might be causing the slow response.

2 replies

17-Peridot
February 20, 2020

Hi,

 

But how often the data are coming from Kepserver?

 

Regards,

Raluca Edu

PaiChung22-Sapphire IAnswer
22-Sapphire I
February 20, 2020

In your situation the best way to get a recording very second is to set that on the Kepware side.

The channel should feature a 'scan rate' which you can set to I think 1000 (milliseconds)

If you are transmitting every millisecond right now, then you are probably overloading the platform which might be causing the slow response.

Sruthi15-MoonstoneAuthor
15-Moonstone
February 21, 2020

yes, the  scan rate of the tag was in 100. I changed it to 1000. Thanks for the reply