The direction is the second field in TrSignalType :
SignalItem ( TrItemId ( 17870 ) TrItemSData ( 59.127014 00000002 ) TrItemRData ( -785.45728 20.492414 624.39221 -10423 14918 ) TrSignalType ( 00000000 1 5.411375 RSS_Normal ) )
Here is what happens.
Two signals (each consisting of two signal markers) are placed on two parallel tracks. Both are placed and shown as facing the same direction.
SignalReverse_A_TSRE.jpg (245.42K)
Number of downloads: 1
However, looking at these signals in the trackviewer, they are shown as to be operating in opposite direction. That is also what happens in OR itself.
SignalReverse_A_TVW.jpg (43.82K)
Number of downloads: 1
Looking at the .tdb entries, two signals are created with direction value '1', but two others with direction value '0'.
SignalReverse_A_TDB.jpg (58.54K)
Number of downloads: 1
Next, I altered the .dtb entries such that all 4 signals have the same direction value.
SignalReverse_B_TDB.jpg (65.23K)
Number of downloads: 1
Now, in the track viewer, all four signals are correctly shown to be facing the same direction.
SignalReverse_B_TVW.jpg (36.73K)
Number of downloads: 1
For TSRE, changing the direction field for two of these signals has made no difference. This is a very clear indication of the error in handling this field - changing this field has no affect on the direction of the signals as show in TSRE which it obviously should have.
SignalReverse_B_TSRE.jpg (157.72K)
Number of downloads: 1
Concluding : for some unkown reason, some signals are created with an incorrect value for the direction field, as a result these signals are facing the wrong way both for display in trackviewer and when processed by OR itself. Changing the value of the direction such that these signals are facing the right way does not affect the direction as shown in TSRE.
This is a very tedious error for each time I have placed signals I have to check all of them in the trackviewer to verify they are facing the right way.
Regards,
Rob Roeterdink