[Services] Unable To Convert with ParseFloat()
I want to convert data that I receveid from arduino board via serial to float.
When I use ParseFloat on the service that I created on a Shape, i have the following error :
>Error executing service. Message ::Unable To Convert From org.mozilla.javascript.UniqueTag to NUMBER - See Script Error Log for more details.
I don't know where I can search to correct this. I only found who has to convert into infotable.
If someone know example of similar javascript service on thingworx that are working. It would be very useful for me.
In my service, Inputs are string and Output (result) is Number.
This is my code :
me.value1=parseFloat(value1);
me.value2=parseFloat(value2);
me.value3=parseFloat(value3);
me.value4=parseFloat(value4);
me.value5=parseFloat(value5);
me.value6=parseFloat(value6);
me.value7=parseFloat(value7);
me.value8=parseFloat(value8);
me.value9=parseFloat(value9);
me.value10=parseFloat(value10);
me.value11=parseFloat(value11);
me.value12=parseFloat(value12);
Thanks in advance for your help.

