Select a loc from Rocrails locolist on a MS2

Märklin Central Station 2

Select a loc from Rocrails locolist on a MS2

Postby woodyboy » 06.01.2016, 20:38

Dear Forummembers.

Attached a new version of the mgbox library. There is now a possibility to select a loc from the locolist on a slave MS2 as this is possible if the MS2 is a slave of a CS2 or with 2 MS2 units. In the mgbox wiki http://wiki.rocrail.net/doku.php?id=cs2:gbox-en the functionality will be explained how to achieve this.

@Rob , would you be so kind to merge the attached files if they passed the checks? The files are tested with the sourcetree at noon.
Last edited by woodyboy on 06.01.2016, 22:39, edited 1 time in total.
Regards,

Bert

Equipment: Roco WLANMaus, MS2, Gleisbox 2x(separated switch & rollingstock). Ubuntu 16. Edits booster. Arduino: S88 CANbus interface & Ethernet-CANbus gateway
woodyboy
 

Re: Select a loc from Rocrails locolist on a MS2

Postby rjversluis » 06.01.2016, 22:10

Hi Bert,

there is a small issue:

Code: Select all
impl/mgbox.c:1541:1: warning: control reaches end of non-void function [-Wreturn-type]

The function should return an integer.
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
 

Re: Select a loc from Rocrails locolist on a MS2

Postby woodyboy » 06.01.2016, 22:38

Hi Rob,

Should be fixed now.
Last edited by woodyboy on 07.01.2016, 08:30, edited 1 time in total.
Regards,

Bert

Equipment: Roco WLANMaus, MS2, Gleisbox 2x(separated switch & rollingstock). Ubuntu 16. Edits booster. Arduino: S88 CANbus interface & Ethernet-CANbus gateway
woodyboy
 

Re: Select a loc from Rocrails locolist on a MS2

Postby rjversluis » 07.01.2016, 08:29

Hi Bert,

OK, I just merged it.
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
 

Re: Select a loc from Rocrails locolist on a MS2

Postby woodyboy » 07.01.2016, 08:32

Hi Rob,

Thanks for checking and merging. :thumb_up:
Regards,

Bert

Equipment: Roco WLANMaus, MS2, Gleisbox 2x(separated switch & rollingstock). Ubuntu 16. Edits booster. Arduino: S88 CANbus interface & Ethernet-CANbus gateway
woodyboy
 


Return to CS2