How to get ur3 functions return value in script

How to get ur3 functions return value in script

example )
Function : get_actual_tcp_pose()
Return Value : TCP vector [X, Y, Z, Rx, Ry, Rz]

i can request get_actual_tcp_pose()

this is my code
GlobalVariables_TCP_IP_client.aux_command_str = “get_actual_tcp_pose()” + “\n”;

GlobalVariables_TCP_IP_client.command = utf8.GetBytes(GlobalVariables_TCP_IP_client.aux_command_str);

socket_write.Send(GlobalVariables_TCP_IP_client.command);

but i can’t get TCP vector… I don’t know where to get the return value.
how to get return value with script example please

I also have this question, have you slove it?