Hi
The attached file contains my vi.
I want to know how can I store values inside an array. Suppose that I am continoulsy receiving values from an instrumen and each of the values that I am receiving corresponds to the value of a particular variable. Now I want to store these values inside an array and an index in the array has been assinged to each of the variable. This is to distinguish the values stored inside the array.
To create such a hypothetical situation, I have used 2 for loops inside a while loop. The first for loop consists of a control array which contains 4 values. Each of these values is passed one by one outside the for loop and are shown on the indicator "Method 2 of getting the value". Then, I am using this indicator to store the values (from control array) in the indicator array. However I am not able to do so..
For the indicator array, the output should be as follows:
Index Value
0 1
1 2
2 3
3 4
But the problem is that it always keeps changing