Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Warning: Unsuccessful read:

#1
Hi all,

I get this warning when trying to use "world=RL.Get_Item('New station(1)')". I'm using matlab.

"Warning: Unsuccessful read:  The specified amount of data was not returned within the Timeout period. "

After a few seconds being busy, this msg pops up without actually returning the result expected.

How to fix it? Seems like the communication between Matlab and RoboDK is not well established.
#2
There are two versions of the RoboDK API for Matlab (attached here):
1- One requires the Matlab Instrument Control Toolbox, distributed by default with RoboDK until September 2016.
2- Another one that uses the tcpclient module, included with the standard Matlab license after release 2014b. This one is distributed by default with RoboDK since October 2016.

You will the two versions attached.

To fix your issue, first make sure that you have Matlab 2014b or later. If this is the case, you can try the 2014b RoboDK API release. Otherwise you will need the Matlab Instrument Control Toolbox option.


Attached Files
.zip   RoboDK_API-Matlab_2014b_or_later.zip (Size: 35.42 KB / Downloads: 841)
.zip   RoboDK_API-Matlab-ICT.zip (Size: 34.53 KB / Downloads: 794)
  




Users browsing this thread:
1 Guest(s)