09-04-2009 03:01 PM
Hi,
I have attached the VI.
The vi has a table with values in them. It simply looks for a number when that number matchs it moves over a column and add whatever is in that cell in an array. It continues to do this until it sees "END" at which point it stops.
The problem I have is that everything seems fine for the first two "values" after which any additional value it aquires it loses everything and only retains the last known value.
Solved! Go to Solution.
09-04-2009 03:03 PM
Drat, I have only LabVIEW 7.1. Could you post a picture of the VI so I can look at it? Sorry about that.
Bill
09-04-2009 03:10 PM
09-04-2009 04:01 PM
09-04-2009 04:03 PM - edited 09-04-2009 04:07 PM
I thought I was appending the value. By increasing the index value I thought that was the way to increase the address of the element.
**update**
I only added this table to simulate my problem. Which it does exactly as it does in my main code. In the main program I have other variables which are being loaded which require an instrument. But the current vi does everything well to give you the exact problem I am having.
09-04-2009 04:04 PM
09-04-2009 04:10 PM
Your current code takes the one element from your table and makes an array out of it. You then insert the last Test Name. So Everything before the last name is gone at that point.
Here is the minimum modified code which keeps the ARRAY in the shift register and simply appends the new test name to the array.
09-04-2009 04:16 PM