Skip to main content
May 22, 2022 8:04 AM UTC
Solved

Writing value from TWX to KepServerEX failed

When trying to write the value from TWX to KepServerEx failed and gave following error:

 

 

 

Write to property failed. | Thing name = 'AdvanceTagsTestingDT', property name = 'Channel2_CalculatedTags', reason = conversion of value '632942' to type 'Short' failed.

 

 

 

 The Tag is created in the Simulator Channel type and assigned "K0001" as address to the Tag.

@slangley @PaiChung 

Thanks,
Shashi.

May 22, 2022 11:08 AM UTC

Hi,

This can be solved by changing the Tag Data Type to the Long and then follow below steps
1. Reinitialize the KepServerEX Connection

2. Go to Industrial Thing or Remote thing and press on save, this will reinitialize the properties or refresh's the Properties on Thingworx Side

3. If the properties are binded to a Property in Thing, then remove the binding and rebind it and save the thing.

Now try to write the data to the Tag in the KepServerEX, this error should go.

Thanks,
Shashi

 

1 reply

pshashipreethamAuthorAnswer
May 22, 2022 11:08 AM UTC

Hi,

This can be solved by changing the Tag Data Type to the Long and then follow below steps
1. Reinitialize the KepServerEX Connection

2. Go to Industrial Thing or Remote thing and press on save, this will reinitialize the properties or refresh's the Properties on Thingworx Side

3. If the properties are binded to a Property in Thing, then remove the binding and rebind it and save the thing.

Now try to write the data to the Tag in the KepServerEX, this error should go.

Thanks,
Shashi