One of the best places to see this in action is Dover at rush hour. The grade crossing is about 20 feet off the end of the platform.
I have very faint memories of watching this same grade crossing on my life's earliest trainwatching trips with my father at Dover in the late 1970s and early 1980s. Those days of ancient (but still my favorite) Lackawanna MUs, U34 NJDOT Bluebirds (second favorite), early Bombardier coaches (I think), ancient track and signalling infrastructure that probably came on line the same day as the MUs, and a backlog of deferred maintenance that makes today's issues look so simple in comparison.
Back then, it was anyone's guess as to whether the gates would go down, stay down, come back up, or some combination of any of those outcomes. I recall, many times, seeing someone from the train crew access a box near the crossing gates to (I presume) flip some sort of switch so the gates would actually go down. I was incredibly young so I might be misremembering, but that is what my father explained to me at the time...or what I think he was saying.
People back then, as they probably still do, were so impatient and/or frustrated at the dysfunctional operation of the system that they would regularly drive around the gates. I don't know if Dover has quad gates or cameras now, but it was very, very common to see back then.
Does anyone else remember the small cowcatchers on the MUs and how they would be painted red, blue, or yellow? Was there any reason for this color coding, or was it just a matter of what bright paint they had laying around the shops at the time?
I remember being so upset upon news that the MUs were being pulled off that I cried in my bed. I apparently tought that my father was saying that the whole railroad was being abandoned and that there would be NO TRAINS at all at Dover anymore. When he explained that there would be new, shiny Arrows, I was able to fall asleep. That is one of my earliest memories...
Be well. Do good work.
Semperfidelis