@rafaelrojas lists can only contain numbers or poses, not strings or lists. The error you are receiving is trying to tell you that you are returning the wrong type of value for the type of variable you have defined. Make the server return a list of numbers and you should not have any error.
Another thing to understand, variables are statically typed in URscript so once a variable is declared you cannot change the type of data being stored in a variable dynamically. For instance, if you declare variable "x" as 1 you cannot later change the value to "blue" without throwing a type error.
I'm implementing a XMLRPC. The server is my computer with IP
I have confirmed that the UR3 controller sends the correct XMLRPC to my server which sends the following answer192.168.1.5 and listening at port 5000
. On the side of the UR3 robot, I have implement the XMLRPC in urcript language. During the program execution I got the error "Type error: a list cannot contain this data type: Variable String" when the XMLRPC is performed. The same error can be reproduced with the following simple code:The answers is correctly received by the robot's controller, I have confirmed it with Wireshark. Here is a screenshot of the error
Any idea about the reason of the problem? it is not possible to implement a callback for the XMLRPC ??