The physics of electrically switched long-period grating in a twin-hole fiber with internal electrodes is studied. Dynamic measurements for the two polarizations show how the grating spectra shift in time due to the mechanical stress and heat transfer in the core and the cladding.