Skip to main content
Feb 28, 2025 1:40 PM UTC
Question

How to update scan rate using SetRemotePropertyBinding service?

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

4 replies

Mar 18, 2025 2:37 AM UTC

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.

 

 

 


 

Mar 20, 2025 3:44 PM UTC

Hi Latha,

 

Why, through the service, do you have too many properties in many Remote Things?

 

Thanks,

vi1Author
Mar 31, 2025 5:19 AM UTC

Hello Shashi,

 

Yes, I have to update scan rate to 15 properties out of 100 properties.

 

Regards,

Latha

Apr 1, 2025 2:07 AM UTC

@vi1

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"
   }
});