Critical section in Modular layout

Moderator: Moderators

Critical section in Modular layout

Postby Buddace » 11.02.2010, 17:29

How manage "Critical section" in modular layout ? I tried to define group but are not allowed....
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby Buddace » 12.02.2010, 15:34

Another problem...I can't define route between different modules.

Question: you have routes in routes.xml;At start is empty.
Code: Select all
<plan>
  <sclist/>
  <waybilllist/>
  <stlist/>
</plan>

I tried to create new route. Work fine and after save and shutdown server&client:
Code: Select all
<plan>
  <sclist/>
  <waybilllist/>
  <stlist/>
  <st id="_a" prev_id="NEW" bka="1b1" bkb="2b1" bkc="" modid="" dir="true" lcdir="true" sga="0" sgb="0" speed="none" reduceV="true" swap="false" swappost="false" crossingblocksignals="false" show="false" manual="false" typeperm="all" maxlen="0" x="0" y="0" z="0" ori="west" ctciid1="" ctciid2="" ctciid3="" ctcaddr1="0" ctcaddr2="0" ctcaddr3="0"/>
</plan>


After restart route is absent from table. After save routes.xml :
Code: Select all
<plan>
  <sclist/>
  <waybilllist/>
  <stlist/>
</plan>

What is wrong ?
regards
Nuccio
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 12.02.2010, 16:00

Routes, defined outside modules, should be in a separate file and set in de modul setup:

http://wiki.rocrail.net/doku.php?id=mod ... ule_dialog

Normally you would define all routes in the modules using module connections:
http://wiki.rocrail.net/doku.php?id=mod ... nection-en
So Rocrail calculates the routes at start up and is arrangement independent.
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
 

frustrated-don't work :(

Postby Buddace » 15.02.2010, 13:53

I tried and tried again...route between module don't work in my layout.
Rocrail generate "auto-generated" route but don't work in automatic mode.
ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
You do not have the required permissions to view the files attached to this post.
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby Buddace » 15.02.2010, 14:36

I will check route direction....I think make mistake..but question is open how critical section whit route defined in module file ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 15.02.2010, 14:45

Hi,

this seems to be a bug.
I will investigate and report.
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 Buddace » 15.02.2010, 16:22

rjversluis wrote:Hi,

this seems to be a bug.
I will investigate and report.

Thanks!
Another question in a module 180 rotated direction are inverted ? In a vertical direction forward is top ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 15.02.2010, 17:34

Hi,

a fix is committed in revno 1301 for saving global module routes.
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 » 15.02.2010, 17:36

Hi,

Buddace wrote:...in a module 180 rotated direction are inverted ? In a vertical direction forward is top ?


I do not quite understand you Q, but the routes are defining the directions, not how a module is rotated.
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 Buddace » 15.02.2010, 21:10

try to explain last message:
For route "forward direction" is: west to east ? right ?
But in vertical is north to south ? or vice versa ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 15.02.2010, 21:25

Hi,

Forward in a route is the direction to run 'From-To'.
This will not change at rotating. But for the arrangement it will have consequences in form of other generated routes.
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 Buddace » 15.02.2010, 22:02

Ok....some route work some no! I don't know why!
Would you like test my layout ? I ca'nt reach BSS_BL_BIN1 or BSS_BL_BIN2 from MIs_Block_1,MIs_Block_2.
I have running rocrail server with forward tcp port....send in private ip ;)
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 15.02.2010, 22:09

Hi,

first you must check if all your desired routes are present in the route table after starting rocrail with your arrangement. You must use the Rocview to check this.
If expected routes are missing we can investigate why they where not generated.
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 Buddace » 15.02.2010, 22:55

rjversluis wrote:Hi,

first you must check if all your desired routes are present in the route table after starting rocrail with your arrangement. You must use the Rocview to check this.
If expected routes are missing we can investigate why they where not generated.

Auto generated route are present look attachment block are correct set :(
Rocrail server is running...
You do not have the required permissions to view the files attached to this post.
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 16.02.2010, 07:14

Hi,

Buddace wrote:Auto generated route are present look attachment block are correct set :(
Rocrail server is running...


Are you running in auto mode?
How do you determine that some routes do not work?
Set the auto mode trace level active in the rocrail ini, or in the rocrail terminal a<enter>, and check the rocrail traces for messages about those not working routes. There must be a reason why they are not used.
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
 

Next

Return to Modular Layout Support