phyphox Forums
open instead of add (1.1.6-beta1) - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6)
+--- Forum: Beta-Test (https://phyphox.org/forums/forumdisplay.php?fid=10)
+--- Thread: open instead of add (1.1.6-beta1) (/showthread.php?tid=893)



open instead of add (1.1.6-beta1) - solid - 06-16-2020

I am using 1.1.6-beta1 version and I tried to modify my program in
https://phyphox.org/forums/showthread.php?tid=891
using period-module.
When I tried to add a new program (attached) phyphox opens it and blocks. I have a lot of applications in my collection..


RE: open instead of add (1.1.6-beta1) - Jens Noritzsch - 06-16-2020

phyphox beta successfully opens your experiment on my smartphone (current iOS) and I could enter values or switch tabs. I do not have a SensorTag here, so there is not much more I could test.

Two strange things that I experience:
  • the experiment is not added to the experiment list or a corresponding question is raised,
  • tapping play gives a warning message that there is no bluetooth device connected, however, starts the experiment anyway and I cannot stop it …err… doing nothing.



RE: open instead of add (1.1.6-beta1) - Sebastian Staacks - 06-16-2020

Indeed, it is a bug in our Android version or a lack of safety guards. Phyphox executes the modules once even before the experiment is started to allow filling graphs with reasonable data even before starting, like for example the waveform in the tone generator experiment (we will give you more control about this soon...). Now, when your analysis modules are executed like this, the dx input of the periodicity is zero, causing an infinite loop in this module.

I will catch this in the next update of phyphox. Until then, you will have to make sure that the dx input is always larger than 0.

@Jens: The iOS version has a check to ensure that dx is larger than 0 (and at the moment we do not execute the modules early on iOS).