05-04-2017 11:13 AM - edited 05-04-2017 11:16 AM
hello!
I expérience a bug in auto indexing for loop
I'm indexing an area containing 15 clusters with a lot of data inside
when executing, the command "batch complet droit" is correct as you can see below at the left of the picture
but if I put a probe after the indexation + breakpoint, I can see that any value hasn't been passed, as seen at the right of the picture, as if something crashed.
this bug occurs randomly: sometimes everything is passed, sometimes, just the first half is passed and sometimes nothing.
do you have any idea about what is going on?
05-04-2017 11:40 AM
You'll have to post some code. We can't tell from the picture where this probe is in execution state, relative to your breakpoint. Make sure to put some default values in the controls so we have some data to use.
05-04-2017 02:51 PM - edited 05-04-2017 02:51 PM
Is the wire associated with probe [3] also auto-indexed? The loop will iterate for as many times as the smallest array size. If it happens to be empty, then the FOR loop will iterate ZERO times and no data will be auto-indexed. (See Auto-Indexing Tunnels with For Loops and While Loops in LabVIEW.)
Of course, I can't see what is under the envoi fin.vi because this is just a picture of some code and not the code itself. UPLOAD THE PROBLEMATIC CODE.