Commercially available opto isolators withstand input to output voltages up to 10 kv and voltage transients with speeds up. This is often connected to an electrical trigger. Opto isolators prevent high voltages from affecting the system receiving the signal.