Sukesh -
There is a good example which ships with NI-DSA that demonstrates how to generate arbitrary waveforms on the NI-4551. You can find this example in the NI-DSA function palette in LabVIEW under Application Examples>>Advanced>>Arbitrary Output Example.
By default, this example outputs a swept sine wave, but you can change the waveform to whatever you need.
Jack Arnold
Application Engineer
National Instruments