def init_fast(): for l in labels: create_source(l) cond = lambda: True # this generator should always fire add_generator(fast_read(), cond)
def init_wind_monitor(): create_source(label) add_generator(speed_detection(), cond)