Issue with ctypes——打印able Version +- RoboDK Forum (//www.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//www.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: Issue with ctypes (/Thread-Issue-with-ctypes) |
Issue with ctypes-lasercladding-02-10-2022 Hello, I have a robot type that isn't listed on RoboDK, however I have an aftermarket controller that runs with VB or Python, C#, C++. It currently works with a Basic program and I would like to upgrade to RoboDK using python. Attached is the python test file, which starts with the operating environment. When the program is run it comes up with the following error: Traceback (most recent call last): File "C:\Users\Terry\Documents\Laser Cladding Services\Robot Welding Machines\Zmotion Controller\Python programs\python\CreatPython\test.py", line 8, in zauxdll = ctypes.WinDLL(“/ zauxdll64.dll。”) File "C:\RoboDK\Python37\lib\ctypes\__init__.py", line 356, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found As the computer been used is always a Windows x64 based system and not MAC or Linux can the test.py file be modified so there is no error code? Any suggestions would be appreciated. Thanks, Terry RE: Issue with ctypes-Albert-02-10-2022 You are trying to load a DLL that is probably not found with your environment. You can select your Python interpreter here:
|