Magnetic field and radiation tests of a programmable delay line