[SOLVED] Session timeout using Merg CBus.

http://www.merg.org.uk/merg_resources/cbus.php

session timeout using merg cbus

Postby neil » 09.11.2011, 09:42

Hi Rob,

Do you mean by longer trace just to leave the situation for a longer period ?

Neil
neil
 

Postby rjversluis » 09.11.2011, 09:51

Hi Neil,

I do not see any session time out problem in the trace; Every command coming from Rocview is processed in session 31 without any error.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 09.11.2011, 10:42

Hi Neil,

I will try it this evening at home with the CANCMD if I get a session problem.
The demo layout runs for hours with two locos with CBUS CANCMD.

http://wiki.rocrail.net/doku.php?id=rob ... uitcase-en
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 09.11.2011, 20:13

Good evening Neil,

I tested with the original MERG CANCMD and one loco.
The session timeout does not occur and I can run it again after several minutes being idle because the "Keeper" thread keeps it alive like a CANCAB does.

I would like to help, but I do not see the problem.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby neil » 10.11.2011, 12:30

Hi Rob,

Just one other thing before I leave you alone and go mad, all I am trying to do with rocrail is contol a loco from the on screen throttle, I have no plan, I have automation switched off.

Is what I am doing allowed or am I overlooking something ?

I can do exactly the same thing with jmri without any problem of time outs.

neil
neil
 

Postby rjversluis » 10.11.2011, 12:46

Hi Neil,

that what you are trying to do is what I did test yesterday.
Just controlling a loco with the Rocview throttle, wait a few mins and control it again without no problems.

Do you also have a CANCAB connected to the same CANCMD? If so, it could have stolen the session.

How do you determine that a timeout has occured? In your prev. traces there is nothing to see about timeouts or what so ever.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

session timeout using merg cbus

Postby neil » 16.11.2011, 11:35

Hi Rob,

Success at last, my problem turned out to be the merg cbus firmware in the command station - now upgraded to latest version and Rocrail running smoothly - just the vertical learning curve to negotiate now !.
Thank you for all your help and suggestions.

rgds

Neil

:D :D
neil
 

Postby rjversluis » 16.11.2011, 11:56

Hi Neil,

you're welcome. ;)
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Previous

Return to mergCBUS