Autoprzejazdy - problem. (GenLi a LI-USB)

Awatar użytkownika
gbbsoft
Admin
Posty: 2179
Rejestracja: 09 lip 2008, 23:19
Miasto: Warszawa
System DCC: Lenz + Roco

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: gbbsoft »

Wydaje mi się, że mój pomysł ze sprawdzaniem potwierdzenia wysłania komendy, dla komend typu "zmień prędkość" jest strzałem w dziesiątkę. Poczekajmy do wieczora... ;)

PS. Błędów w liczeniu sumy kontrolnej nie może być, bo dokładnie te same komendy w LI-USB nie powodują błędów...
dzidek12345
Posty: 38
Rejestracja: 03 lis 2010, 20:15

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: dzidek12345 »

Gbb, przekopalem forum Rocraila. Z tego co widze, autorzy poswiecili sporo pracy na GenLI i Xpressneta w ogole. Na szybko nie znalazlem wyraznych wskazowek czy konkluzji, ale jest tam o bledach 01-03-02, ponownym wysylaniu komend, opoznieniach etc. O ile rozumiem, w starszej wersji ich biblioteki do Xpressneta te bledy byly ignorowane, teraz jakos sa obslugiwane. Nie jestem pewien, czy z Rocrailem dalej nie ma problemow, odpalilem to raptem wczoraj, nie patrzylem tez w trace'a, czy nie ma jakis bledow.

Jak chcesz, zajrzyj przynajmniej w te watki (zwlaszcza ostatni):
http://forum.rocrail.net/viewtopic.php?t=344
http://forum.rocrail.net/viewtopic.php?t=1979
http://forum.rocrail.net/viewtopic.php?t=1627
Awatar użytkownika
gbbsoft
Admin
Posty: 2179
Rejestracja: 09 lip 2008, 23:19
Miasto: Warszawa
System DCC: Lenz + Roco

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: gbbsoft »

dzidek12345 pisze:ponownym wysylaniu komend
To GbbKolejka, jak trzeba, wykonuje... 8-)
Awatar użytkownika
gbbsoft
Admin
Posty: 2179
Rejestracja: 09 lip 2008, 23:19
Miasto: Warszawa
System DCC: Lenz + Roco

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: gbbsoft »

Wersję testową wystawiłem, ze zmienioną obsługą komend nie wysyłających potwierdzeń.
dzidek12345
Posty: 38
Rejestracja: 03 lis 2010, 20:15

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: dzidek12345 »

Wersja: 1.62.3979 - bez zmian. Dwie parominutowe sesje, po pewnym czasie lokomotywa nie zatrzymuje sie w bloku. W komunikatach timeouty. Koncowki logow ponizej.

Log 1:

(...)
2010-11-23 22:40:03 Sent: Instruction (52:00:85:d7)
2010-11-23 22:40:03 Received: Command send to Command Station (01:04:05)
2010-11-23 22:40:03 Sent: Instruction (52:01:81:d2)
2010-11-23 22:40:03 Received: Command send to Command Station (01:04:05)
2010-11-23 22:40:03 Sent: Instruction (52:01:88:db)
2010-11-23 22:40:04 Received: Command send to Command Station (01:04:05)
2010-11-23 22:40:04 Sent: Instruction (e4:13:00:08:c0:3f)
2010-11-23 22:40:04 Received: Command send to Command Station (01:04:05)
2010-11-23 22:40:05 Received: Instruction (42:40:50:52)
2010-11-23 22:40:11 Received: Instruction (42:40:48:4a)
2010-11-23 22:40:11 Sent: Instruction (52:01:80:d3)
2010-11-23 22:40:11 Received: Command send to Command Station (01:04:05)
2010-11-23 22:40:11 Sent: Instruction (52:01:89:da)
2010-11-23 22:40:11 Received: Instruction (42:40:49:4b)
2010-11-23 22:40:11 Received: Instruction (42:40:48:4a)
2010-11-23 22:40:11 Received: Instruction (42:40:49:4b)
2010-11-23 22:40:16 Received: Instruction (42:40:48:4a)
2010-11-23 22:40:16 Sent: Instruction (e4:13:00:09:80:7e)
2010-11-23 22:40:17 Received: Command send to Command Station (01:04:05)
2010-11-23 22:40:17 Received: Instruction (61:00:61)
2010-11-23 22:40:17 Received: Instruction (61:00:61)
2010-11-23 22:40:17 Received: Instruction (61:00:61)
2010-11-23 22:40:17 Received: Instruction (42:40:40:42)

Log 2:
(...)
2010-11-23 23:08:18 Sent: Instruction (52:00:81:d3)
2010-11-23 23:08:18 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:18 Sent: Instruction (52:00:8d:df)
2010-11-23 23:08:18 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:18 Sent: Instruction (52:00:85:d7)
2010-11-23 23:08:18 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:18 Sent: Instruction (52:01:83:d0)
2010-11-23 23:08:19 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:19 Sent: Instruction (52:01:8a:d9)
2010-11-23 23:08:19 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:19 Sent: Instruction (e4:13:00:0a:c0:3d)
2010-11-23 23:08:19 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:20 Received: Instruction (42:40:50:52)
2010-11-23 23:08:26 Received: Instruction (42:40:48:4a)
2010-11-23 23:08:26 Sent: Instruction (52:01:82:d1)
2010-11-23 23:08:26 Received: Instruction (42:40:49:4b)
2010-11-23 23:08:26 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:26 Sent: Instruction (52:01:8b:d8)
2010-11-23 23:08:26 Received: Instruction (42:40:4b:49)
2010-11-23 23:08:26 Received: Instruction (42:40:4a:48)
2010-11-23 23:08:26 Received: Instruction (42:40:48:4a)
2010-11-23 23:08:27 Received: Instruction (42:40:4a:48)
2010-11-23 23:08:31 Sent: Instruction (e4:13:00:09:80:7e)
2010-11-23 23:08:31 Received: Command send to Command Station (01:04:05)
2010-11-23 23:08:31 Received: Instruction (42:40:48:4a)
2010-11-23 23:08:33 Sent: Instruction (21:80:a1)
2010-11-23 23:08:33 Received: Instruction (61:00:61)
2010-11-23 23:08:33 Received: Instruction (61:00:61)
2010-11-23 23:08:33 Received: Instruction (61:00:61)
2010-11-23 23:08:34 Received: Instruction (42:40:40:42)
Awatar użytkownika
gbbsoft
Admin
Posty: 2179
Rejestracja: 09 lip 2008, 23:19
Miasto: Warszawa
System DCC: Lenz + Roco

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: gbbsoft »

Logi ładniejsze... Nie ma błędów komunikacji... Tylko też nie widzę timeoutów... Rozumiem, że były w oknie na dole?
Chyba muszę te timeouty przenieść do logów komunikacji, bo nie wiadomo, kiedy wystąpiły...

PS. Jakbyś mógł przysłać mi swój plik *.plansza, na którym robisz testy...

PS2. Coś mi się wydaje, że specyfikacja do LI-USB mówiła, że taka sekwencja nie powinna występować:
dzidek12345 pisze:2010-11-23 23:08:26 Sent: Instruction (52:01:82:d1)
2010-11-23 23:08:26 Received: Instruction (42:40:49:4b)
2010-11-23 23:08:26 Received: Command send to Command Station (01:04:05)
tzn. między komendą a potwierdzeniem jej wysłania nie powinno być informacji zwrotnej.
To taka ciekawostka...

PS3. Coś zauważyłem. Do pierwszej instrukcji nie przyszło potwierdzenie w ciągu 5 sek...
dzidek12345 pisze: 2010-11-23 23:08:26 Sent: Instruction (52:01:8b:d8)
2010-11-23 23:08:26 Received: Instruction (42:40:4b:49)
2010-11-23 23:08:26 Received: Instruction (42:40:4a:48)
2010-11-23 23:08:26 Received: Instruction (42:40:48:4a)
2010-11-23 23:08:27 Received: Instruction (42:40:4a:48)
2010-11-23 23:08:31 Sent: Instruction (e4:13:00:09:80:7e)
Przyszło mi do głowy, żeby może zwiększyć timeout do np: 10sek, tylko czy to pomoże? Chociaż widzę dziurę 3 sek, gdzie potwierdzenie mogłoby przyjść...
Jeżeli potwierdzenie do mnie nie dociera, to program zachowuje się chyba poprawnie...
dzidek12345
Posty: 38
Rejestracja: 03 lis 2010, 20:15

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: dzidek12345 »

gbbsoft pisze:Tylko też nie widzę timeoutów... Rozumiem, że były w oknie na dole?
Tak
gbbsoft pisze:PS. Jakbyś mógł przysłać mi swój plik *.plansza, na którym robisz testy...
Poszlo mailem
Awatar użytkownika
gbbsoft
Admin
Posty: 2179
Rejestracja: 09 lip 2008, 23:19
Miasto: Warszawa
System DCC: Lenz + Roco

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: gbbsoft »

Dodałem jeszcze jedną rzecz, która mi przyszła do głowy: program loguje w logu z komunikacji także pakiety, dla których są błędne sumy kontrolne. Takie pakiety są normalnie ignorowane, ale mogą oznaczać problemy na linii interfejs-PC.
dzidek12345
Posty: 38
Rejestracja: 03 lis 2010, 20:15

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: dzidek12345 »

Gbb, zycie jest za krotkie :-) U mnie przerwa w testowaniu, czas chwile pojezdzic pociagami. Jak pisalem wczesniej - jesli zalezy Ci na wsparciu do GenLI w programie, poswiec chwile i potestuj to sam.

Koncowka loga z dzisiejsza wersja:
(...)
2010-11-24 22:37:00 Sent: Instruction (52:01:82:d1)
2010-11-24 22:37:00 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:00 Sent: Instruction (52:01:8b:d8)
2010-11-24 22:37:00 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:07 Sent: Instruction (52:00:88:da)
2010-11-24 22:37:08 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:08 Sent: Instruction (52:00:80:d2)
2010-11-24 22:37:08 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:08 Sent: Instruction (52:01:81:d2)
2010-11-24 22:37:08 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:08 Sent: Instruction (52:01:88:db)
2010-11-24 22:37:08 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:08 Sent: Instruction (e4:13:00:0a:c0:3d)
2010-11-24 22:37:08 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:15 Received: Instruction (42:40:49:4b)
2010-11-24 22:37:15 Sent: Instruction (52:01:80:d3)
2010-11-24 22:37:15 Received: Instruction (42:40:4b:49)
2010-11-24 22:37:15 Received: Instruction (42:40:49:4b)
2010-11-24 22:37:20 TIMEOUT Instruction (52:01:80:d3)
2010-11-24 22:37:20 Sent: Instruction (52:01:89:da)
2010-11-24 22:37:20 TIMEOUT Instruction (52:01:89:da)
2010-11-24 22:37:20 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:24 Received: Instruction (42:40:51:53)
2010-11-24 22:37:24 Sent: Instruction (e4:13:00:0a:80:7d)
2010-11-24 22:37:24 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:28 Sent: Instruction (e4:13:00:09:c0:3e)
2010-11-24 22:37:28 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:32 Received: Instruction (42:40:41:43)
2010-11-24 22:37:38 Sent: Instruction (52:00:89:db)
2010-11-24 22:37:38 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:38 Sent: Instruction (52:00:81:d3)
2010-11-24 22:37:38 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:38 Sent: Instruction (52:00:8d:df)
2010-11-24 22:37:38 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:38 Sent: Instruction (52:00:85:d7)
2010-11-24 22:37:38 Received: Instruction (42:40:43:41)
2010-11-24 22:37:43 TIMEOUT Instruction (52:00:85:d7)
2010-11-24 22:37:43 Sent: Instruction (52:01:83:d0)
2010-11-24 22:37:43 TIMEOUT Instruction (52:01:83:d0)
2010-11-24 22:37:43 Sent: Instruction (52:01:8a:d9)
2010-11-24 22:37:43 TIMEOUT Instruction (52:01:8a:d9)
2010-11-24 22:37:43 Sent: Instruction (e4:13:00:08:c0:3f)
2010-11-24 22:37:43 TIMEOUT Instruction (e4:13:00:08:c0:3f)
2010-11-24 22:37:43 Sent: Instruction (e4:13:00:09:80:7e)
2010-11-24 22:37:43 Received: Instruction (42:40:41:43)
2010-11-24 22:37:43 TIMEOUT Instruction (e4:13:00:09:80:7e)
2010-11-24 22:37:43 Received: Unknown error in communication (01:03:02)
2010-11-24 22:37:44 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:44 Received: Instruction (61:00:61)
2010-11-24 22:37:44 Received: Instruction (61:00:61)
2010-11-24 22:37:44 Received: Instruction (61:00:61)
2010-11-24 22:37:44 Received: Instruction (44:40:40:40:50:54)
2010-11-24 22:37:44 Sent: Instruction (52:01:82:d1)
2010-11-24 22:37:44 Received: Command send to Command Station (01:04:05)
2010-11-24 22:37:44 Sent: Instruction (52:01:8b:d8)
2010-11-24 22:37:44 Received: Command send to Command Station (01:04:05)
Awatar użytkownika
gbbsoft
Admin
Posty: 2179
Rejestracja: 09 lip 2008, 23:19
Miasto: Warszawa
System DCC: Lenz + Roco

Re: Autoprzejazdy - problem. (GenLi a LI-USB)

Post autor: gbbsoft »

Jak wróciłbyś do testowania, to wystawiłem wersję testową... :)
ODPOWIEDZ