Skip to main content
16-Pearl
February 28, 2025
Question

How to update scan rate using SetRemotePropertyBinding service?

  • February 28, 2025
  • 3 replies
  • 862 views

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

3 replies

16-Pearl
March 18, 2025

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.

 

 

 


 

18-Opal
March 20, 2025

Hi Latha,

 

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

 

Thanks,

vi116-PearlAuthor
16-Pearl
March 31, 2025

Hello Shashi,

 

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

 

Regards,

Latha

16-Pearl
April 1, 2025

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