Hi,
I am facing this issue in ThingWorx 9.5 using SetRemotePropertyBinding service. I am trying to update scan rate to 10 properties using SetRemotePropertyBinding. SQL transaction log is increasing.
How to do xml import and export for update scan rate by automate service? Could you give snippet?
Thank you in Advance.
Regards,
Latha
Hi @vi1l,
Unfortunately Thingworx does not supply any out-of-the-box snippet service to export/import for a single entity.
Please manually export the xml file, edit property scan rate, save and import the xml file.
Hi Latha,
Why, through the service, do you have too many properties in many Remote Things?
Thanks,
Hello Shashi,
Yes, I have to update scan rate to 15 properties out of 100 properties.
Regards,
Latha
Below is sample code which I tested on 9.6 TW instance. It updated scanrate of "Channel1_Device1_Tag1" to 1500. Can you try above code for your industrial thing?
Things["kep6-thing1"].SetRemotePropertyBinding({
propertyName: "Channel1_Device1_Tag1" /* STRING */,
aspects: {
"industrialDataType": "Word",
"tagAddress": "Channel1.Device1.Tag1",
"scanRate": 1500,
"tagType": "Dynamic",
"readOnly": "true",
"startType":"readEdgeValue"
}
});