Hi,
How to update scan rate for few properties to Kepware industrial thing at a time using service instead of updating one by one property in Thingworx 9.5.
I am trying to update scanrate to few properties using service but SQL transaction log size is increasing. Because , updating scan rate one by one property using below service. Is there way update scan rate at a time ?
I am using below code.
Solved! Go to Solution.
Hi @vi1
This is a known issue when calling SetRemotePropertyBinding frequently because the service execution changes Thing definition so it adds a new record to Thing Change History which writes a new row to ThingWorx persisten database.
You can export the xml file of the Industrial thing and manually updated scanrate settings(aspect.scanRate="1000") then import xml file.
This will add only one new record to Thing Change history.
I am afraid currrently there is no other workarounds for this issue.
Hi @vi1
This is a known issue when calling SetRemotePropertyBinding frequently because the service execution changes Thing definition so it adds a new record to Thing Change History which writes a new row to ThingWorx persisten database.
You can export the xml file of the Industrial thing and manually updated scanrate settings(aspect.scanRate="1000") then import xml file.
This will add only one new record to Thing Change history.
I am afraid currrently there is no other workarounds for this issue.
Thank you for reply. Is there automated service, Instead of Manual Export and Import for updating scan rate? Can we use wait after updating scan rate first property?
I am afraid SetRemotePropertyBinding is the only available automated service.
For batch updating scanrate of remote property, either to perform Export/Import or to change scanrate settigs from Composer manually.