Upcoming Games


Full list
Add a game

Upcoming Events

No events to display

We are not planning any more in-person events until the COVID-19 situation has improved.

Level crossings via the Interface Gateway

You are here: Home > Forum > Customising SimSig > Interface Gateway > Level crossings via the Interface Gateway

Page 1 of 1

Level crossings via the Interface Gateway 22/02/2021 at 12:23 #137398
dmaze
Avatar
86 posts
Is there any support in the Interface Gateway to operate and monitor level crossings? I don't see it listed in the wiki page, and my test application isn't receiving anything if a manually operate a level crossing in the sim.

More specifically, I'm trying to automate some of the simpler boxes in North East Scotland. I have it successfully set up so that, if I request line clear from Greenloaning to Blackford, the block instrument changes (monitoring/updating flag `L2GLBK`), but I won't be able to set the route past Blackford until the level crossing is lowered.

(The documentation for sending `sigobjstate` needs an update under "Message Types". In the context of NEScot where the flags for the block instrument controls have multiple values, it does work to send `{"sigobjstate":{"object":"L2GLBK","state":4}}`, not just `"true"` or `"false"`. Overall, though, this is pretty complete and the level of detail I need to code something up.)

Last edited: 22/02/2021 at 12:25 by dmaze
Reason: None given

Log in to reply
The following user said thank you: DonRiver
Level crossings via the Interface Gateway 22/02/2021 at 12:41 #137399
DonRiver
Avatar
66 posts
Online
There isn't any support at the moment (loader v5.13) but this would be useful!

Some people have had success by connecting as a multiplayer client rather than as a gateway client, but this is unsupported and undocumented and likely to break with version changes.

Log in to reply
Level crossings via the Interface Gateway 22/02/2021 at 15:34 #137402
pedroathome
Avatar
716 posts
Online
dmaze in post 137398 said:
Is there any support in the Interface Gateway to operate and monitor level crossings? I don't see it listed in the wiki page, and my test application isn't receiving anything if a manually operate a level crossing in the sim.
There is not at present, however it is on Mantis as ticket number 15170

James

Log in to reply
The following users said thank you: DonRiver, dmaze