Python api showing no error of connection without physically connecting the dobot


#1

I’m working on Magician Lite. It was very strange. The code used to work superfine until a few hours back. I turned off the power to dobot from the main switch without shutting down from dobot’s power switch. After that, when I try and connect from my python script, this is what the output is!

您用的dll是64位,为了顺利运行,请保证您的python环境也是64位
python环境是: ('64bit', 'WindowsPE')
CDobotMgr::getProductName start ctrlType 1 subDevId 0
CDobotMgr::getProductName return deviceName: "" result: 2
>>>>>>>>>>>>>>>>>>>>Can not found Extcontroller, try to find Magician
CDobotMgr::getProductName start ctrlType 0 subDevId 0
CDobotMgr::getProductName return deviceName: "" result: 2
>>>>>>>>>>>>>>>>>>>>Can not found Extcontroller and Magician, but connected something! What the hell?
Connect status: DobotConnect_NoError

I’ve not even plugged in my dobot, but it is showing the “No_Error”. I’ve been trying for the last 4 hours. There is no information available on the forum. How to solve this!?? Please help. Thanks in Advance.


#2

Hello Ajay, did you solve this problem? If yes, could you please share the solution? thanks


#3

Hi Ryan! When these errors pop up, it could be solved by either solved by restarting your system or restarting dobot or both.


#4

Dear Ajay, thanks for your quick reply, and I will try it. Have a nice day!