GetDataVal targetnames{1},current_robtarg1;! Is this a copy?
current_robtarg1.trans.z:=current_robtarg1.trans.z + z; ! will this change Target_R11_10?
Whats the best way to do it?
Are there global variables between tasks?
Also, anyway to reference tools and workobjects without names?
Thanks so much
Hello,
GetDataVal copies the value of the data declaration into a variable.
If you modify the copied data, you have to use SetDataVal to write the new value back into the named data declaration.