The scheme of arbitrary waveform generation based on optical weighted by fiber coupler array is proposed. In this scheme, arbitrary waveform generation is complete by weighting the intensities of multiple optical carriers with different wavelengths and combining them according to the parallel input of binary dates. The simulation results show that the time domain waveform is interfered by beat noise which is concentrated in the high frequency region. So, it can be removed effectively by the low-pass filter. However, some peak interference will appear at the time of signal alternation. When the filtering processing matching with the bandwidth of the transform signal, the peak interference can be suppressed. Finally, the triangle wave, sawtooth wave, Gauss pulse and square wave sequence can be realized by the optical digital-to-analog conversion with signal rate of 10Gbps and quantization accuracy of 5 bits.