Switch node with loops until 1 of 2 conditions is met

Thanks for your help thus far. I am pretty sure I can set the topic of the current weight measurement (here is how I am parsing the data from the weight scale's serial output to a numerical value).

Before we get to the function, I am trying to understand how the Join node would incorporate the topics. I think something like this?

and also trying to understand the Trigger node. I think something like this? (btw, 5.5 represents the amount of volts that would be sent to the vibrator).