RoboDK Forum
No public property 'TIMEOUT' for class 'Robolink error with MoveL()- Printable Version

+- RoboDK Forum (//m.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN)
+--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API)
+--- Thread: No public property 'TIMEOUT' for class 'Robolink error with MoveL() (/Thread-No-public-property-TIMEOUT-for-class-Robolink-error-with-MoveL)



No public property 'TIMEOUT' for class 'Robolink error with MoveL()-damian.leporis-05-23-2020

Hello, I have a Matlab script controlling RoboDK station (attached). I want to use robot.MoveL() function to move to target called '44'. But I am getting an error"No public property 'TIMEOUT' for class 'Robolink'."
Here is my code:
Code:
%RoboDK inititalization
RDK = Robolink;

path = RDK.getParam('PATH_LIBRARY');
fprintf('Available items in the station:\n');
%disp(RDK.ItemList());
robot = RDK.Item('UR5e');
tool = RDK.Item('RobotiQ 2F85');
fprintf('Robot selected:\t%s\n', robot.Name());
robot.setVisible(1);
frameref = robot.Parent();
fprintf('Robot reference selected:\t%s\n', frameref.Name());
object = RDK.Item('base');
fprintf('Object selected:\t%s\n', object.Name());

targetMap = [3,3];
valueRow = targetMap(1);
valueColumn = targetMap(2);
home = RDK.Item('44');
robot.MoveL(home);
while robot.Busy()
暂停(100);
fprintf('Waiting for the robot to finish...\n');
end

Here is my Command window log with error mesages:
Code:
>> analysis_test
Robot selected: UR5e
Robot reference selected: UR5e Base
Object selected: UR5e Base
No public property 'TIMEOUT' for class 'Robolink'.

在RobolinkItem / WaitM错误ove (line 706)
set(this.link.COM,'Timeout', this.link.TIMEOUT);

Error in Robolink/moveX (line 272)
itemrobot.WaitMove();% checks connection

Error in RobolinkItem/MoveL (line 578)
this.link.moveX(target,this,2,blocking);

Error in analysis_test (line 20)
robot.MoveL(home);



RE: No public property 'TIMEOUT' for class 'Robolink error with MoveL()-Albert-05-25-2020

Can you make sure you are running the latest version of Robolink and RobolinkItem?
You should find the latest version here:
https://github.com/RoboDK/RoboDK-API/tree/master/Matlab

Also, make sure you don't have previous versions of these files in the path.

If you still have issues: What version of Matlab are you using?


RE: No public property 'TIMEOUT' for class 'Robolink error with MoveL()-MGV-08-16-2022

(05-25-2020, 09:41 PM)Albert Wrote:Can you make sure you are running the latest version of Robolink and RobolinkItem?
You should find the latest version here:
https://github.com/RoboDK/RoboDK-API/tree/master/Matlab

Also, make sure you don't have previous versions of these files in the path.

If you still have issues: What version of Matlab are you using?

Hello
My MATLAB version is R2021a. I have the latest version of Robolink and RobolinkItem. Unfortunately, I have the same problem. I'll appreciate your help.
Thanks


RE: No public property 'TIMEOUT' for class 'Robolink error with MoveL()-Albert-08-17-2022

Can you provide us with the RoboDK project and Matlab code you used to reproduce this issue?