Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
We are using MFA, and we've configured a connection to Kepserver with an asset and remotely bound properties to Kepserver tags.
The connection pushes values every seconds (in monitoring section we view that we receive it every second), and we need to log those values even haven't changed.
Remoted bound properties Data Change Type property is set to Always, but QueryPropertyHistory service does't show a value for every second, only the changes.
How can we get it?
Thanks in advance
Is kepserver actually sending the values?
Yes. Kepserver is sending values every seconds...but QueryNamedPropertyHistory shows this result:
In monitoring section we can see that we are receiving values every seconds.
Can you show all the binding aspects please of the property and the binding itself.
It does look like if it is set to always, it should log each time, you can also try to set a subscription on the property and validate that it fires each update.
Worst comes to worse, if the subscription shows it firing properly, maybe use that to log the values.
This is the property definition and binding.
Hey @aetxeberria,
Just change the configuration of the Property in the RemoteThing of Thingworx.
Change the PushType from Pushed based on the value change to Always pushed.
Before:
Change to:
Thanks,
The configuration of the properties is Always pushed, but QueryNamedPropertyHistory does't show all values.
When you expand the 'Advanced' what is 'DataChange' set to? Value or Always?
DataChange is set to Always.
Looks like all the settings are correct, I'm not sure as to why it isn't logging all values.
Hey @aetxeberria,
I can see in the Screenshot that a few signals have bad quality, anyways I faced the same issue a month ago. There are two reasons:
1. Due to more than 40,000 rows in dataTable, I queried it for every sec, that increased no.of Threads in the queue which stopped logging the data of properties.
You can Check the queues here:
Performed = Queued
2. For some reason or heavy load on the TWX, the no.of stream logging is not happening
again Performed should be equal to Queued.
If you find (Performed != Queued), please Restart the TWX; that would be a Temporary fix for the logging issue; Permanent would be you need to Trace what is taking longer time which is acting as a road block.
Thanks,
We've restarted TWX and checked the queues....after the restart, the number of streams performed and queued are not still equal...
Is the difference between performed and queued normal?
Thanks.
Hey @aetxeberria,
That may be an issue, some service, or something causing the execution delay; please check the other parts of the Subsystem.
Thanks,