phyphox Forums
Editor does not load my experiment correctly - 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: Editor does not load my experiment correctly (/showthread.php?tid=2165)

Pages: 1 2


RE: Editor does not load my experiment correctly - Aewolframio - 08-05-2025

Yes, I have the original file named Solo_FotocCelda.phyphox.

I also downloaded the file that is installed in the Phyphox app on my phone using the three-dot option, this file downloads with the following name: eedb69a5a4d24066b097029b91381a98.phyphox.

This last file does not work properly when I load it back into the Phyphox app on my phone with the Editor.

I am attaching both files.


RE: Editor does not load my experiment correctly - Jens Noriʇzsɔɥ - 08-05-2025

Errr… these two files just differ by the type of newlines: it's POSIX style for the original file and DOS style for the broken one…  Huh


RE: Editor does not load my experiment correctly - Jens Noriʇzsɔɥ - 08-05-2025

… and what's even weirder: if I download the file it's identical to your original file (modulo two mini bugs in the editor with Schroedinger's attributes).


RE: Editor does not load my experiment correctly - Jens Noriʇzsɔɥ - 08-05-2025

Could you please briefly record data with both files and save these measurements as “experiment state”s? Perhaps the files including data shine some light on what's going wrong here…


RE: Editor does not load my experiment correctly - Aewolframio - 08-05-2025

I tried again, I downloaded the file that works in my Phyphox app installed on my phone using the three dots option, I uploaded it again using the Editor and again it didn't work.

I did it again but checked the parameters of the Bluetooth module, without changing anything and re-uploaded it to the app and this time it worked.

For each test, I reset the Editor screen, I also downloaded the .phyphox file and reviewed them, I found that they were not the same regarding the Bluetooth module, these were the differences:

Solo_FotoCeldaTest.phyphox (don'work):

  <input>
    <bluetooth name="Arduino MKR 1010" uuid="19b10000-e8f2-537e-4f6c-d104768a1214" rate="0">
      <output char="19b10001-e8f2-537e-4f6c-d104768a1214" conversion="singleByte">Time</output>
      <output char="19b10001-e8f2-537e-4f6c-d104768a1214" conversion="formattedString" separator="/" index="0">Fotocelda</output>
    </bluetooth>
  </input>
Solo_FotoCeldaTest (1).phyphox (WORK):

    <bluetooth name="Arduino MKR 1010" uuid="19b10000-e8f2-537e-4f6c-d104768a1214" mode="notification" rate="0">
      <output char="19b10001-e8f2-537e-4f6c-d104768a1214" conversion="singleByte" extra="time">Time</output>
      <output char="19b10001-e8f2-537e-4f6c-d104768a1214" conversion="formattedString" separator="/" index="0">Fotocelda</output>
    </bluetooth>

I am attaching both files: the one that didn't work (Solo_FotoCeldaTest.phyphox) and the one that did (Solo_FotoCeldaTest (1).phyphox).

It seems that the Bluetooth module is still unstable Undecided .

I attach data captured with each of the versions of the .phyphox files (incorrect and correct).


RE: Editor does not load my experiment correctly - Jens Noriʇzsɔɥ - 08-07-2025

That's what I meant with “Schroedinger's attributes”: they have a defined state only when observed… Smile

I have already asked if a fix could be put out after my previous reply. I keep you posted when it gets released.


RE: Editor does not load my experiment correctly - Jens Noriʇzsɔɥ - 08-11-2025

A new version of the editor has just been released. Both issues with mode="notification" and extra="time" are fixed now. In addition, the conversion function is left out for extra="time": it is not used in this case…