Error message connecting M1 via Python


#1

I am trying to use a Dobot M1 directly via Python on a Windows System

  • it works via DobotM1Studio
  • I use “Dobot Demo V2.3” from Dobot Magician
  • I use DobotDllM1 from Dobot M1 Dynamic Library
  • I referenced DobotDllM1 in DobotDllType.py instead of DobotDll

When starting DobotControl in Python (no matter 32 bit or 64 bit with corresponding dll), I get the following error message:

Traceback (most recent call last):
File “C:\Users\HomeOffice\Desktop\Dobot M1 Dll - Win x64\DobotControl.py”, line 25, in
dType.SetHOMEParams(api, 200, 200, 200, 200, isQueued = 1)
File “C:\Users\HomeOffice\Desktop\Dobot M1 Dll - Win x64\DobotDllType.py”, line 1186, in SetHOMEParams
result = api.SetHOMEParams(c_int(masterId), c_int(slaveId), byref(param), isQueued, byref(queuedCmdIndex))
File “C:\Users\HomeOffice\AppData\Local\Programs\Python\Python37\lib\ctypes_init_.py”, line 377, in getattr
func = self.getitem(name)
File “C:\Users\HomeOffice\AppData\Local\Programs\Python\Python37\lib\ctypes_init_.py”, line 382, in getitem
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function ‘SetHOMEParams’ not found

what is my problem ?