Elvas Tower: ActivityFailedSignal in OR - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ActivityFailedSignal in OR Activities not working like in MSTS Rate Topic: -----

#1 User is offline   RolfW 

  • Apprentice
  • Pip
  • Group: Status: Fired
  • Posts: 3
  • Joined: 22-March 19
  • Gender:Male
  • Simulator:Open Rails, MSTS
  • Country:

Posted 23 March 2019 - 12:16 PM

In Germany there is a signal ahead of some railroad crossings called BUE. It shows a flashing white light if the crossing is secured, called BUE1, or a dark light, if the crossing is not secured, called BUE0. When showing BUE0, the train driver needs to stop and secure the crossing manually. This scenario is used in several German routes. Activity developers used ActivityFailedSignal in act file for switching a given BUE signal to BUE0. This is not working in OR. In OR all BUE signals showing BUE1.
I agree, that "defective" signal handling is no longer needed, but there should be a possibility for querying a failed signal flag in sigscr file and setting draw state as needed.
Perhaps there are other solutions bypassing this issue?

Cheers, Rolf

#2 User is offline   ebnertra000 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,234
  • Joined: 27-February 17
  • Gender:Male
  • Location:East-Central Minnesota
  • Simulator:OR/TSRE
  • Country:

Posted 23 March 2019 - 02:41 PM

I wonder if a test statement (?), sort of like next_sig_lr() or something similar. Given the prevalence of these around the World, it would be quite useful, though in most cases, a failed signal doesn't work for them (in most Eastern Bloc countries, a red light turns on to signal to stop). I don't know how it would know when/where to stop looking for LevelCr objects, though

#3 User is offline   eugenR 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 472
  • Joined: 15-April 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 24 March 2019 - 12:22 AM

View PostRolfW, on 23 March 2019 - 12:16 PM, said:

In Germany there is a signal ahead of some railroad crossings called BUE.

Perhaps there are other solutions bypassing this issue?

Cheers, Rolf

I suppose the BUE-Signal is a signal Type NORMAL, that is visible as a red/green dot in the Track-Window F4
In Trello, a signal wich levelcrossing-Dependency is listed under "Future" here:
https://trello.com/b...n-rails-roadmap
The function "levelcrossing failed" should then be added to the levelcrossing.

But you ask for other solutions.
It exist in OR the Approach control functions
see Manual chapter "10.15.2 Approach control functions"
With the Function:
APPROACH_CONTROL_SPEED(position, speed)
you can define a signal so that it open only if a train is nearer at a signal as the defined distance and if the Train has reduced the speed under a defined Limit (I don't know if the function work also with 0 km/h)

Not solved is the Problem, that this function should only be activ for selected activities.
Perhaps you make two signalfiles, one with and one without this function?

I hope, that somebody else has a better idea.

Regards
EugenR

Sorry, the attachment has nothing to do with my post, i have not attached it, but I can't delete it.
It also doesn't exist on my PC!
An error of ET ???

Attached File(s)



#4 User is offline   RolfW 

  • Apprentice
  • Pip
  • Group: Status: Fired
  • Posts: 3
  • Joined: 22-March 19
  • Gender:Male
  • Simulator:Open Rails, MSTS
  • Country:

Posted 24 March 2019 - 02:19 AM

I forgot to mention these signals are of signal type DISTANCE, so they are not visible in track viewer.

Cheers, Rolf

#5 User is offline   eugenR 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 472
  • Joined: 15-April 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 24 March 2019 - 04:31 AM

Sorry, there is a mistake:
the Function:
if ( block_state() ==# BLOCK_JN_OBSTRUCTED )
will deliver true, if there is no path over the Signal, independent if behind is a loos consist or not.

The solution will be, that you make a Path passing the signal and you let drive a blindtrain at the right time.

sorry
EugenR

#6 User is offline   RolfW 

  • Apprentice
  • Pip
  • Group: Status: Fired
  • Posts: 3
  • Joined: 22-March 19
  • Gender:Male
  • Simulator:Open Rails, MSTS
  • Country:

Posted 24 March 2019 - 10:14 AM

Hello EugenR,

thanks a lot for your suggestion. I will give it a try.

Regards, Rolf

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users