![]() |
Generate-Button not working - Printable Version +- phyphox Forums (https://phyphox.org/forums) +-- Forum: App-Feedback (https://phyphox.org/forums/forumdisplay.php?fid=6) +--- Forum: Experiment editor (new Blockly-based version) (https://phyphox.org/forums/forumdisplay.php?fid=15) +--- Thread: Generate-Button not working (/showthread.php?tid=2159) |
Generate-Button not working - MartinDahlmanns - 06-26-2025 Hello, I just tried to develop my first own experiment to make it more suitable for my class. As I tried to finish the experiment by using the generate-button nothing happend. I first thought it might be caused by some compatability issues with safari on my mac, but i tried the same on my windows PC using chrome and had the same issue. I'd be very thankful if someone could help me out somehow. RE: Generate-Button not working - Jens Noriʇzsɔɥ - 06-26-2025 Hm, I regularly use it on a Mac and this has not occurred to me yet. Weird. Could you please give me some steps to try to reproduce? Does loading an experiment and then tapping “generate” work? I suppose you use current macOS, right? Any safari extensions, public or private tab, private relay? RE: Generate-Button not working - MartinDahlmanns - 06-27-2025 (06-26-2025, 07:01 PM)Jens Noriʇzsɔɥ Wrote: Hm, I regularly use it on a Mac and this has not occurred to me yet. Weird. Thanks, I tried to use the generate button on a freshly loaded experiment and it worked, so it was somthing in my code that couldn't "compile" i guess. I build it again step by step and the generate-button stopped working when I tried to use a addition block within the true-branch of an if-function. The addition block clicks in place, but I would guess the editor has a hard time translating this structure. RE: Generate-Button not working - Jens Noriʇzsɔɥ - 06-28-2025 Thanks, that clarified it. I have received a similar report in april, however, it has just mentioned “does not generate” rather than that the button has no effect… It is tempting to think of the “if” module like in c style or “structured” programming languages. The analysis block works differently, though. The “if” module just copies data from input containers to its output depending on the comparison of the last elements of two containers. So, you have to output the result of the addition module to a temporary container and use that in the if module. I have already asked if this could be prevented and the answer has been yes. In addition, the generate button really should put out an error message. I put a reminder… ![]() |