Page 2 of 2

Posted: 02.09.2012, 19:36
by LDG
Hi Mike,
my name is Lothar :wink:
mike ip wrote:Hi LDG
what do you mean by unhealthy plan and it has to be cleaned manually?
The first of the five squares in the lower right corner (indicating plan health) is red :( There are multiple definitions for switch 03. I tried to "cleanup" within Rocview (plan editing) but without success, so here is the "manual" way:
- close Rocview and Rocrail server
- open plan.xml with your preferred (text-)editor
- Remove/Delete the following lines and only these short ones! (in your posted plan.xml lines 212-214):

Code: Select all

    <sw type="left" ori="south" id="03" x="9" y="12" z="0"/>
    <sw type="left" ori="south" id="03" x="8" y="11" z="0"/>
    <sw type="left" ori="south" id="03" x="8" y="11" z="0"/> 
- Do NOT delete the follwing block (the correct definition of switch 03):

Code: Select all

    <sw type="left" ori="south" id="03" x="9" y="12" z="0" switched="37" prev_id="03" desc="" blockid="" routeids="" accnr="1" savepos="none" dir="false" swtype="default" road="false" show="true" rectcrossing="true" iid="" bus="0" addr1="1" port1="1" gate1="0" inv="true" singlegate="false" addr2="0" port2="0" inv2="false" actdelay="false" delay="0" prot="N" fbR="" fbG="" fb2R="" fb2G="" fbOcc="" fbRinv="false" fbGinv="false" fb2Rinv="false" fb2Ginv="false" ctciid1="" ctciid2="" ctcaddr1="0" ctcaddr2="0" ctccmdon1="false" ctccmdon2="false" ctcflip1="true" ctcflip2="true" ctciidled1="" ctciidled2="" ctcaddrled1="0" ctcaddrled2="0" ctcportled1="0" ctcportled2="0" ctcgateled1="0" ctcgateled2="0" ctcasswitchled1="false" ctcasswitchled2="false" state="straight">
      <accessoryctrl active="false" interval="0" delay="0" lockroutes=""/>
    </sw> 
- Save plan.xml
- start Rocrail/Rocview

The first of the five squares in the lower right corner (indicating plan health) should be green now :wink:

Regards,
Lothar

Posted: 02.09.2012, 19:57
by mike ip
Hi Lothar

thank you.
it do not work. my plan is still unhealthy.

Regards.
Mike

Posted: 02.09.2012, 20:06
by LDG
Hi Mike,

please post your actual plan here.

Regards,
Lothar

Posted: 02.09.2012, 20:19
by mike ip
okay

Posted: 02.09.2012, 20:25
by LDG
... the 3 short lines were still there :shock:
Attached is plan.xml without them :)

Regards,
Lothar

Posted: 02.09.2012, 20:51
by mike ip
now it works