Krishna,
Change the physical channel control Dev1/ao0 to Dev1/ao0:1 to output the signal to analog output channels 0 and 1. Also, you will need to change the DAQmx write to be for multiple channels, and use a Merge Signals function to duplicate the waveform for both input channels. Check out the example I have attached.
Of course, you could always just connect two wires to one analog output instead.
--
Michael P
National Instruments