Using Under Automation dlls.
I found using the PrimaryInterface, when ever I download multiple lines of motion script, the robot only completes the last script.
I was wondering if anyone has a working C# code sample that is downloading two motion scripts & the robot runs both scripts sequentially
sample code I am using
ur.PrimaryInterface.Script.Send(@"
def go2():
while(True)
movel(p[-0.337864483979826,0.0583225993623881,0.175435620795749,3.13158038627881,0.154242234669529,-0.0188837210217245], a = 0.5, v = 2, r = 0.0)
movel(p[-0.28471004440028,0.162319348670402,0.175435620795749,3.11997751745689,-0.121291191750755,0.033080194460785], a = 0.5, v = 2, r = 0.0)
end
end");
Thanx in advance for any help/comments
Jay