Page 1 of 1
Trigger, Backwards Trigger & Storing - Some fancy questions
Posted: Thu Mar 10, 2016 4:23 pm
by Nowhk
I think the best way is to write the questions in order (are all related to trigger, backwards trigger and how FlowStone store data in the schematic). I'll write the question one after one, since I'm limited to the number of attachments, sorry. I hope experts can help me easily with these questions. Let's start...
1 - Why some prims have a specific trigger out "done" when its task is finished?For example, Float Array prim has "The array of floats" output and "Trigger when finished changing the array". Both, every time I change a value, will send out a trigger. Why can't I just use the first output to send the value (if needed) and/or just the (simple) trigger?

- 001.png (19.98 KiB) Viewed 8813 times
Re: Trigger, Backwards Trigger & Storing - Some fancy questi
Posted: Thu Mar 10, 2016 4:26 pm
by Nowhk
2 - Which are the conditions to understand when a Prim will automatically stop Backwards Triggers to its parents?Taking the example above, and add some fancy links (yeah, it looks like a machine-gunner):

- 002.png (30.21 KiB) Viewed 8812 times
When I trigger "Populate", it takes a long time to create the array (you see for a bit FlowStone forzen; it's intended for the experiment). Trigger blocker does its task, and I see nothing in the right INT output.
Now, when I click on the trigger "Request", the sum of the two arrays is immediate (not frozen as before).
It seems that Float Array "STOP" backwards trigger to Loop prim (which should reloop, resend values and take huge time again to repopulate Float Array). Or in fact, Float Array prim permits backwards trigger to Loop, but Loop (since no one implicitly retrigger Start) just do nothing? I want to understand if Backwards Triggers go till Float Array or will propagate also to its parents.
Re: Trigger, Backwards Trigger & Storing - Some fancy questi
Posted: Thu Mar 10, 2016 4:36 pm
by Nowhk
3 - Why WaveFile prim store "mem" data in the schematic while ArrMem doesn't?Having this schematic:

- 003.png (18.27 KiB) Viewed 8812 times
If I send a float array to Arr2Mem (which store the array in mem) and later I load a wave with WaveFile (storing the array of samples in mem), when I save the schematic and I reopen it only the INT+Trigger counter of the WaveFile is filled. Arr2Mem save nothing in the schematic (the mem).
Also, for this particular case: mem is requested by Mem2FA backwards trigger when I load the schematic or WaveFile itself send a trigger After Load? I can't connect directly mem connector to a trigger counter, so I can't check it.