A FBG was written in a two-hole fiber with internal alloy electrodes. Nanosecond high current pulses cause metal expansion, increase birefringence and tune the gratings with a response time of 29 ns. This short length, low loss, all-spliced high-speed wavelength switching devices described here has potential use in Q-switching fiber laser.