Using nonlinear polymer waveguides in integrated optics requires an adaptation of the device to the very special waveguiding characteristics of polymer films. We present in this paper new devices based on diffraction gratings for electro-optic modulation and potentially high efficient second-harmonic generation that are in general well suited to the use of polymers. We optimized the devices through numerical simulation to the use of PNA-PMMA films. We obtain experimentally 40% light modulation at (Delta) V equals 51.9 V (r33 equals 4.3 pm/V) concerning electro-optic modulation and a conversion efficiency of (eta) equals 5.83 * 10-6 1/W ((chi) 33 equals 8 pm/V) for second-harmonic generation.© (1996) COPYRIGHT SPIE--The International Society for Optical Engineering. Downloading of the abstract is permitted for personal use only.