phyphox Forums
Getting time since experiment started - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: Discussion (https://phyphox.org/forums/forumdisplay.php?fid=1)
+--- Forum: General (https://phyphox.org/forums/forumdisplay.php?fid=3)
+--- Thread: Getting time since experiment started (/showthread.php?tid=1670)



Getting time since experiment started - Labyrinth - 01-08-2023

Hi,
I am trying to make a sound that goes up in frequency continuously at a given speed. I have tried using the timer function, however I noticed that "until the current analysis run began" apparently meant "until the start experiment button was last pressed" and not "until the last time the analysis's script was ran". Is there a way to get the time since the analysis last began?

Thanks in advance,
David


RE: Getting time since experiment started - Jens Noriʇzsɔɥ - 01-10-2023

Have you seen https://phyphox.org/forums/showthread.php?tid=460&pid=2319#pid2319?

I still need to check how to properly answer your question…


RE: Getting time since experiment started - Labyrinth - 01-10-2023

(01-10-2023, 05:20 PM)Jens Noritzsch Wrote: Have you seen https://phyphox.org/forums/showthread.php?tid=460&pid=2319#pid2319?

I still need to check how to properly answer your question…

No, I haven't... And I did think about linking an "add" function to itself to solve my problem, but it seemed so unlikely to work I did not even test it (as seen in the acoustic resonance test provided in the page you linked). That'll do, thank you

Ah, actually no. Weirdly enough, in the resonance white experiment, the "runs" keeps increasing every second. Whereas when I tried doing the same (add function linked to itself with one of the inputs being the value 1, then linked to a value view), it only increases each when I press the "run analysis" button at the top