If any person driving a vehicle approaches a railroad grade crossing and a law enforcement officer or a clearly visible or audible signal gives warning of the immediate approach of a railway train or car or other on-track equipment, he or she shall bring such vehicle to a complete stop within 50 feet but not less than 15 feet from the nearest rail of such railroad and may not proceed until he or she can do so safely.
(SDCL § 32-29-4) Penalty, see § 70.99