01-06-2013 03:31 AM
Below is the new attached VI that might help you understand.
I have fixed number of columns but I want each entry to be in a new ow while the old enteries are kept in previous rows.
For example, if I change a parameter from numeric control, thus changing the output array. I press a button and it saves these entries and jump o next row where I can record another set of entries.
01-06-2013 07:19 PM
You have a 1 iteration for loop that just turns a 1-D array into a 2-D array of a single row. If you want to put it into multiple rows:
1. Get rid of the For loop.
2. Use Build array and a shift register to store the array betweeen iteration and put a new row onto it each iteration.
3. Look at the online LabVIEW tutorials to learn more about how to program in LabVIEW.
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
01-07-2013 06:23 AM
I have made the following VI more generically. But I'm unable to store the previous values. When I change the numeric control values, the previous values also change. I wish to change only the current value without changing my previous record.
I have used another numeric control to increase number of rows.
01-07-2013 09:09 AM - edited 01-07-2013 09:09 AM
You are putting an new array into the shift register every iteration rather than building it into the array that is being stored in the shift register.
(I have no idea what you are trying to do with those empty For Loops up top.
Here is a fixed version of your VI. Study this, and don't forget to look at LabVIEW tutorials.