Manish,
the best approach for your application is probably using blended moves. There is a good LabVIEW example (\LabVIEW\examples\Motion\FlexMotion\Demo.llb\X-Y Grid Inspection (Template).vi.) that does almost exactly what you are looking for. This example runs the zig zag motion but it should be be quite easy to add the additional patterns.
For the case that you don't want the move to stop at every coordinate in the position array change the Blend Factor to "-1".
I hope that helps,
Jochen Klier
National Instruments Germany