Seite 1 von 1

TX Controller Python

Verfasst: 19 Mai 2015, 11:33
von Grau
Hallo,
ich habe ein Problem Python mit dem TX-Contoller zum laufen zu bringen.
Ich bin nach der Anleitung von ftcomputing gegangen (pythonfish311).
Selbst das angehängte mini Programm geht nicht.
Mit Robo Pro und dem Testprogramm kann ich auf den TX Controller zugreifen.
Kann jemand helfen?
Gruß Grau :?:




Programm:
--------------------------------
from FishFaTX import *
ft = FishFace()
ft.OpenController(9)
ft.CloseController()


Fehler:
-----------------------------------------------------------------------------
Traceback (most recent call last):
File "C:\_DOWNLOAD\Test2.py", line 3, in <module>
ft.OpenController(9)
File "C:\Python31\lib\FishFaTX.py", line 40, in OpenController
self.iOpen = windll.umfish50.txOpenController(ComNr)
File "C:\Python31\lib\ctypes\__init__.py", line 420, in __getattr__
dll = self._dlltype(name)
File "C:\Python31\lib\ctypes\__init__.py", line 350, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 127] Die angegebene Prozedur wurde nicht gefunden
------------------------------------------------------------------------------

Installation:

Windows XP x86 (auch mit Windows 7 x64 und Windows 8.1 x64 probiert)

Geräte Manager:
fischertechnik USB TX Controller (COM9)


Installiert:
Python 3.1.1

Kopiert nach :
c:\Windows\system32\ftMscLib.dll
c:\Windows\system32\umFish50.dll
C:\Python31\Lib\FishFaTX.py

Re: TX Controller Python

Verfasst: 20 Mai 2015, 21:54
von vleeuwen
With a Phyton for .NET framework you are able to make use of the FtMscExNet library (.NET assembly).
Maybe this can help you .