Automatic recognition of mfx id with CS2 & Gleisbox

Märklin Central Station 2
Post Reply
woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 24.05.2015, 11:09

Great! Despite removing some parenthesis :D. Now I can enjoy with pleasure the good weather! :beer:

Have a nice day!

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 01.06.2015, 16:38

Hi Rob,

Attached a version with a more restrict packet integrity check to alert the operator in case of f.i. packet overruns etc.
Second is a fix to prevent the creation of a product 0 entry in rocrail.ini in case of a Gleisbox only configuration.
If the attachment passes the parenthesis check :roll: , would you be so kind to merge it.
Attachments
mgbox.c.zip
(20.67 KiB) Downloaded 4 times

rjversluis
Site Admin
Posts: 41184
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by rjversluis » 01.06.2015, 17:21

Hi Bert,

just merged in.

stef1234
Posts: 55
Joined: 26.09.2014, 08:17
Location: DIJON FRANCE

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by stef1234 » 02.06.2015, 14:27

Bonjour,

je viens d'installer la dernière mise à jour et je n'ai plus de dialogue entre Rocrail et la MS2.
J'ai donc réinstallé une ancienne version et toujours pareil ? :cry:
Petit problème :?:

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 02.06.2015, 14:35

Please attach a log.

stef1234
Posts: 55
Joined: 26.09.2014, 08:17
Location: DIJON FRANCE

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by stef1234 » 02.06.2015, 14:49

Et voilà :wink:
Attachments
Mgbox.trc
(68.83 KiB) Downloaded 4 times
rocrail.ini
(3.44 KiB) Downloaded 6 times

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 02.06.2015, 15:29

Please modify your Number of trace files to 0 according to http://wiki.rocrail.net/doku.php?id=roc ... race_files. After uploading the log you can modify it back to the original value.

The former log was to short it doesn't contain the library loading and initialization.

stef1234
Posts: 55
Joined: 26.09.2014, 08:17
Location: DIJON FRANCE

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by stef1234 » 02.06.2015, 15:49

Nouveau fichier :wink:
Attachments
Mgbox.trc
(81.15 KiB) Downloaded 6 times

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 02.06.2015, 16:00

Can you explain a little more what is happening? The last logfile doesn't contain the library loading either.

stef1234
Posts: 55
Joined: 26.09.2014, 08:17
Location: DIJON FRANCE

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by stef1234 » 02.06.2015, 16:55

Je ne comprends pas :

je ne peux plus mettre sous tension Rocrail (mise sous tension inopérante)
j'ai juste le premier voyant vert en bas à droite allumé et le dernier quand je passe en automatique
la fenêtre Serveur indique :interface ID is not set !
l'ensemble fonctionne avec la MS2

Ca fonctionne avec Mcs2 mais pas Mgbox, je pense qu'il doit y avoir un fichier corrompu...

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 02.06.2015, 18:33

Hmmm, It seems like something is missing in your installation:
20150602.164144.036 r9999E main OLib 0045 rocs_lib_load [C:\Rocrail\mgbox.dll] failed. rc=998
20150602.164144.036 r9999E main OLib 0060 rocs_lib_getProc [C:\Rocrail\mgbox.dll:rocGetDigInt] failed. rc=127

Please try to reinstall version 9216.

stef1234
Posts: 55
Joined: 26.09.2014, 08:17
Location: DIJON FRANCE

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by stef1234 » 02.06.2015, 21:24

désolé pour le dérangement :
problème avec Windows 8
j'ai réinitialisé l'ordinateur et fait une réinstallation complète de rocrail et ça fonctionne !

Encore merci pour tout :beer:
stef

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 18.06.2015, 17:31

Hi Rob,

Would you be so kind to merge the attached files? Reason for this change is enabling other DCC types as DCC-28 in case a loc is configured for 128 steps DCC or long address and that loco is not configured in the CS2 or MS2 or in a Gleisbox only situation.

For the forummembers who want to use this feature please select Locomotives in the properties form of the mgbox controller.
Attachments
mgbox.c.zip
(22.36 KiB) Downloaded 3 times

rjversluis
Site Admin
Posts: 41184
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by rjversluis » 18.06.2015, 18:32

Hi Bert,

OK, merged. (No warnings.)

woodyboy
Posts: 628
Joined: 18.11.2013, 16:01

Re: Automatic recognition of mfx id with CS2 & Gleisbox

Post by woodyboy » 18.06.2015, 18:35

Thanks! :thumb_up:

Post Reply

Return to “CS2”