06-30-2012 01:14 PM
case structure?
06-30-2012 01:20 PM - edited 06-30-2012 01:23 PM
But what should my condition be because there is alot of possibility it can be a array with 2 element, a array with 3 element or any number of element's array without pattern?
06-30-2012 01:25 PM
If there is no other occurrence of the first element value, you have one repeat with a size of the original array size.
06-30-2012 03:40 PM
Overall, you need to be much more precise with the specifications. For example:
07-01-2012 01:41 AM
07-01-2012 02:13 AM
Isn't your point #2 a contradiction? If you allow small variations, they won't be identical. Define what you mean by "small"! Is it sufficient to round points with small deviations to the nearest grid point? Are the grid point always whole numbers?
Pictures are useless! Why don't you make our life easier and attach the actual (or simplified) VIs containing typical data in diagram constants (that you already seem to have!). Do you really expect us to re-create everything from an image? We have better things to do!
I also don't understand your graphs, because they don't look very parametric. It looks more like a plain 3D surface graph with an x,y grid (represented as two 1D vectors) and a z height. What do you actually want to see???
07-01-2012 02:40 AM - edited 07-01-2012 02:46 AM
I am so sorry to have caused inconvient to you. Okay, I will just say that my repeats are identical.
You are right " It looks more like a plain 3D surface graph with an x,y grid (represented as two 1D vectors) and a z height.". I just want to look at the surface and the point.
07-01-2012 03:32 AM - edited 07-01-2012 03:35 AM
There are many ways to do this, so here's one possibility. See if it works for you. Most likely it needs to be adapted to the specific requirements.
(Also note that your use of string diagram constants as labels is a bit awkward. You can show the label of diagram constants and enter useful information there. This has the advantage that things stay together.)
07-01-2012 10:26 AM
The above assumes that the data in the input array might not be regular (e.g. only cover a circular area or similar). In the case if very regular data as in your example data, the code could be much simpler. Try it!
07-01-2012 10:32 AM - edited 07-01-2012 10:37 AM
You mean always repeat? The array I get will either be a pattern of itself or repeats. Thanks so much, I have learn quite alot of new things today. 🙂 I saw your logo turn from 15K to 20 K congrates. 🙂