Damaskus Posted July 4, 2016 at 01:15 PM Share Posted July 4, 2016 at 01:15 PM Hallo Zusammen, ich beobachte mit einer Ethernet Master Extension das Problem, dass der enumerate() aufruf nicht ausgeführt wird. Wenn ich mich via USB Local verbinde, funktioniert enumerate() perfekt. Als Test verwende ich einen Stapel aus Master/Ethernet Extension/Temperatur/LCD Display und die Software vom Tutorial: http://www.tinkerforge.com/de/doc/Tutorials/Tutorial_Rugged/Tutorial.html#python Kennt das Problem jemand? Quote Link to comment Share on other sites More sharing options...
photron Posted July 4, 2016 at 01:27 PM Share Posted July 4, 2016 at 01:27 PM Funktioniert den Brick Viewer? Quote Link to comment Share on other sites More sharing options...
Damaskus Posted July 4, 2016 at 01:37 PM Author Share Posted July 4, 2016 at 01:37 PM Ja! Und der BrickViewer macht ja auch nichts anderes als enumerate(), oder?! Ich kann das Problem an allen (2) meinen Ethernet Extensions nachvollziehen. Quote Link to comment Share on other sites More sharing options...
borg Posted July 4, 2016 at 02:49 PM Share Posted July 4, 2016 at 02:49 PM Hast du die IP geändert in deinem Programm (von localhost auf die IP der Ethernet Extension)? Quote Link to comment Share on other sites More sharing options...
Damaskus Posted July 4, 2016 at 08:18 PM Author Share Posted July 4, 2016 at 08:18 PM Ja klar. Im Einsatz sind die beiden Stapel schon länger, aufgefallen ist es erst durch eine Umstellung im Programm von statischen UIDs auf dynamisches durchzählen. Ich lasse euch gerne einen Zugang via Internet zukommen. Dann könnt ihr es selber testen. Quote Link to comment Share on other sites More sharing options...
photron Posted July 5, 2016 at 08:03 AM Share Posted July 5, 2016 at 08:03 AM Wenn brickv funktioniert, dann heißt das, dass die Python Bindings und dein Stack funktionieren. brickv macht nichts anderes als enumerate() aufzurufen und auf den Enuemrate Callback zu reagieren. Teste doch mal bitte dieses einfache Enumerate Beispiel: http://www.tinkerforge.com/de/doc/Software/IPConnection_Python.html#enumerate Quote Link to comment Share on other sites More sharing options...
Damaskus Posted July 5, 2016 at 01:27 PM Author Share Posted July 5, 2016 at 01:27 PM Funktioniert(e) auch nicht. Inzwischen habe ich aber die Lösung gefunden. Ich habe an dem Raspberry vergessen den brickd zu istallieren. Deswegen hat es lokal mit einem PC funktioniert und auf dem Raspberry via Ethernet nicht. ohmann.... SRY! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.