I would like to launch a web api oscillator after clicking on a button. The web api oscillator is working find on its own, but it doesn\'t happen anything while in a function.