Check secondary voltage of that transformer, it should be around 8-12VAC on the secondary. If not check primary voltage is correct, and the transformer has not been cooked to death.
The one machine at work uses 24VAC lamps, but I replaced them with 36VAC ones, so as to give a much increased life. Works fine except for some with blue lenses, which tend to be a little dim, but that is better than a failed lamp each month. As well there is a lamp resistor of 2R 50W, which reduces switch on surges slightly. 24VAC supply is also used by the safety circuit, so a failed supply to the lamps will not allow the machine to run, disabling a lot of functions till it is fixed.
The other machine uses 36VAC lamps, but unfortunately they are an odd size, so not interchangeable. But i do not care about that 1 power lamp, the worse thing is all the switchgear is 36VAC, which is a non standard supply voltage.