10-23-2009 05:26 PM
Hi Gerd,
Thanks for your response. I agree with you that 2nd shift register would yield the same value. It is a mistake. Actually I planned to increment
the 'i' value by 1 on each execution and feed it in to 'array subset.vi' inside the case structure. In the build array, the current data value will be added to index '0' of output array and the previous data values will be logged on to consecutive indices. Say at 21 min, the output array will have total 21 elements. The value at index '0' is 21st min value i.e. current value, which will be extracted by 'index array.vi'. The remaining 20 elements starting from index'1' to index'20' will be extracted by 'array subset.vi'. So for each iteration data values for latest 20 min duration will be extracted by incrementing 'i' value by 1. Unfortunately it could not be done as per you mentioned that for loop iterates once. Is any way could I increment 'i'?
Instead of 'feed back' node is it not possible to use the shift registers?
Senthil
10-23-2009 08:45 PM
10-27-2009 06:11 AM
Dear Ravens Fan,
Thanks for your reply. Unfortunately I could not able to execute your VI as I am using Labview 8.2 version. The feed back loop for both iteration and build array is broken. I presume in latest version
there is automatic inclusion of feed back node. Could you suggest any possible solution to modify it to
8.2 version?
Thanks
Senthil
10-27-2009 08:22 AM
10-27-2009 10:48 AM
Dear Ravens Fan,
Kudos!!!! It is working fine now. Wonderful Job!! Thanks a lot!!!
Regards,
Senthil![]()