Hello guys, i've been searching for a solution to my problem but i can't find the right answer..
Here is the thing ;
I have a variable (let's call it "Variable Case"). Every time this variable goes from 0 to 1, i want to add the value of another variable (let's call this one "Buse défectueuse") to an array of 2D. So far, nothing impressive, but things will get worse now !
To be sure that i correctly added the value of "Buse défectueuse" to my array, i've got another variable (let's call it "Correctly Added") that goes from 0 (nothing happened) to 1(the value has been added to the array). When "Correctly Added" is at "1", i must set the value of "Case" back from 1 to 0 (the variable "Case" is in a while loop that is refreshed every 100 ms so it's very important that "Case" goes to 0 as soon as the writting of "Buse défectueuse" is done) and once "Case" is back to 0, set "Correctly Added" to 0 aswell.
Also, the size of the array is set to 10 elements and each times that a value is written in it, i must increment the value of the index for the next value.
How it should be understood ;
First iteration :
Second iteration :
Third iteration (you got the thing...)
I've got everything working but the "i ++" thingy. Could you take a look at my vi and tell me what i've been doing wrong? Thanks for your help !
Solved! Go to Solution.
Hi Claude,
in your VI you don't "add" or "insert" data to your array indicator, instead you create a new array (of only one element) each time.
Please go through all free LabVIEW courses to learn LabVIEW basics as autoindexing and shift register usage!
If i post something here, that means that i couldn't find the right answer in the courses..
Hello Claude,
what GerdW meant, is, that you didn't find the answers to a lot of questions.
I modified your VI, so it could meet to some of your needs. Take a look into it and perhaps you can answer the questions that came up to me:

For some reasons, I'm not able to post a VI. I get the error message, that the extension doesn' match the file type.
It might also mean the answers were in the courses, but you don't understand what the courses were teaching you.
Do you understand what a shift register is? If you don't, retake the courses. A shift register is what maintains the value in a wire and makes it available at the beginning of the next iteration of a loop.
PS. You don't need the select statement with the True and False constants. Just wire the boolean directly. You have a Rube Goldberg.