TX Controller Python

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
Grau
Beiträge: 115
Registriert: 03 Jan 2015, 17:21

TX Controller Python

Beitrag von Grau » 19 Mai 2015, 11:33

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

vleeuwen
Beiträge: 1609
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: TX Controller Python

Beitrag von vleeuwen » 20 Mai 2015, 21:54

With a Phyton for .NET framework you are able to make use of the FtMscExNet library (.NET assembly).
Maybe this can help you .

Antworten