Anupama.U.R wrote:
Actually i'm new to this tool and wanted to do more exercise on this tool.
Well, it is a useful exercise trying to emulate a built-in LabVIEW function. It gives you a chance to fully understand the function AND the tools you are using to duplicate the functionality.
In particular, you should make sure that your replacement function works identically. E.g. try with an array of size=5 and e.g. rotate by -999, -998, -2, 0, 2, 998, or 999 and see if you get the same result as the built-in rotate array in all cases. Try with an empty array, etc.
You can also do some benchmarks to see how much more efficient the LabVIEW function is compared to your contraption. (Maybe you can even try to beat it. Long ago in the "median challenge", several entries were faster than the stock median VI of LabVIEW if I remember right. ;))
Here are two quick mockups. Try to make a few more, e.g. one containing a shift register or the in-place element structure.
Message Edited by altenbach on
05-27-2008 11:41 PM