07-12-2010 02:28 AM
Dear All,
I am facing one problem regrading the array. If I have around 30 element in a array, if there any two or more value change at a time, at that a moment I want to transfer time stamp to array at respective index no.
Please give me a solution of this problem.
Thanx for help me.
Vinal Gandhi
07-12-2010 05:12 AM - edited 07-12-2010 05:13 AM
Please provide the max rate at which ur values can change at a time.
If the time required to compare previous value of 30 element to present value is greater than the "rate of change of value"; then you have to split the array into elemnts & run the parallel threads for checking individual elements.
Else u can easily do compare operation & with a good enough accuracy can store the timestamp; since each code has its own execution delays.
07-13-2010 12:15 AM
Hello Kekin,
Will give me one example, which you suggested me.
07-13-2010 12:25 AM
I cannot give u an example if u don't tell me the exact rate at which the values are expected to change.
Please answer following questions:
1.Will two or more values will change at the same time or at the same rate?
2.Is the rate of change is asynchronous or random?
3.Whats the max time stamp error is acceptable for u?
Please be very specific while answering.
07-13-2010 02:49 AM