I encountered some behaviour while patching that I don’t quite understand.
When changing the condition for Keep inside a ForEach loop it somehow seems “to reset its state”.
Also some conditions seem not to return the correct slice count.
Idk if this is a bug or I am just too slow.
Any insights appreciated.
Ah yes, well if you disconnect the pin, it will feed false to it → the slices (including their state) will be removed from the loop. Ìn your case that means that all the instances of GetJpgInfo get kicked out. So when you then re-connect it and the condition turns true again, those states will be created from scratch (new GetJpgInfo) → you’ll need to trigger the read once more.
Yes, thanks! After looking at it again I agree, the behavior is not really explainable due to the Keep pin influencing the slice states. I really do like Björn’s suggestion, not sure why it wasn’t done like that in the first place. Maybe there was a reason. We’ll report back on this.