Hi All,
I’m having trouble with regards to calling a sub routine for the robot during simulation. Arguments are what I believe to be correct with the string name of the sub routine that I’m looking to call but I keep getting the error below:
Traceback (most recent call last):
File “KR20R1810::PythonScript”, line 42, in OnRun
File “C:\Program Files\Visual Components\Visual Components Professional 4.0\Python\Commands\vcHelpers\Robot2.py”, line 882, in callSubRoutine
if self.RecordRSL:
ReferenceError: Invalid arguments.
I’m issuing the command
robot.callSubRoutine(“Pick”)
Anyone know what I’m doing wrong with this?
Thanks in advance