I’m hoping that someone here will be able to shed light on why I’m getting multiple copies of the same data when I use the data recorder component. Apologies in advance, as I think I’ll be missing something obvious…I’m no programmer.
My definition creates aggregations of an icosahedron module, using components from the Wasp plugin - which aggregates your modules face-to-face, according to your chosen rules. Ideally I want to automate a run through all possible rules, set against a second fixed rule - and to collect information for analysis. The blue group is a timer switch which replaces the reset button and the number slider in red to carry out this automation.
The definition attached focuses on just one of the pieces of information I want to collect: the number of connections between the modules in the aggregation. This should return 200 pieces of data for every rule. However, instead it returns 600 on the first press of the reset button and 400 on each subsequent press. (I’ve tried using a boolean toggle as well as the button and my timer modulus switch - all give the same result).
With data recorders which are just collecting one piece of information for each rule, I’ve been using the dispatch component after the data recorder panel, to weed out the second set of results. (And my alternative timer activated switch, highlighted in blue, starts at -1 to get rid of the third set of values for the first iteration). However, for this particular data collection, the number of items collected is much larger - and, more importantly, isn’t fixed (while it will often be 200, it may be lower). This means I can’t used dispatch to ‘avoid’ the underlying problem any more!
Any input on what it is I’m missing would be gratefully received!
data recorder question.gh (43.3 KB)