Hi,
See the attachment. I had to delete a lot, just to get it running.
It seems to me you have a combination of problems (if it was one just
problem, it would have been easy).
1) the indexing in the while loop. Note that the constant in the indexing
can be wired to the first entry (row) to get an entire row, or to the second
to get an entire colomn.
2) The time is mixed up. The contant outside the structure (x = 1000) is
multiplied by 1000 in the chart. But when the cursor is used, this factor is
not considered. For that reason, the indexes are not correct. Try to put
some probes on what you put in the index and length. If they don't match,
you'll not get any results.
I got it working, but I don't know if the timing is correct. At l
east you
should be able to get on with it... You could use the sine wave to verify
the result.
Regards,
Wiebe.
"jonathanchye" wrote in message
news:506500000005000000B7B90100-1079395200000@exchange.ni.com...
> Hi,
>
> I have modified my VI but I am afraid I am still getting NaN. I tried
> changing the constant value for the first array (please refer to
> attached word document) to 1 but still I am getting NaN. I am really
> lost here as logically it should return a value corresponding to the
> values returned by cursor. I really need some help in this as I am
> totally lost. Any ideas?
[Attachment integrate_with_cursor.vi, see below]