cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

How to update scan rate using SetRemotePropertyBinding service?

vi1
16-Pearl
16-Pearl

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 4
wcui
16-Pearl
(To:vi1)

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,

Shashi Preetham,
+91 8099838001 | shashi@psptechhub.com,
PSPTechHub  ||  World of PTC Thingworx  ||  LinkedIn

Hello Shashi,

 

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

 

Regards,

Latha

wcui
16-Pearl
(To:vi1)

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

 

 

Announcements


Top Tags