Hi Uddhav,
Just so you know, you can continue commenting on the original post. That's the most efficient way to resolve things.
My response remains the same: The update rate of the analog outputs is equal to your time step. That means that the value of voltage on the analog output is updated once every several 100s of nanoseconds. Thus, it is expected that the waveform will appear as non-smooth at the analog output. That will be more visible the more you zoom in on the time axis.