This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

About loading a .phyphox file into the app + Missing part
#1
Hello, I hope you guys are all doing well.

I am having a problem in terms of loading a .phyphox file into the app.
My purpose for doing this is to limit the accelerometer's sampling rate to 50Hz.

1) I originally took the code from https://github.com/phyphox/phyphox-exper...um.phyphox
Then I changed <phyphox version="1.7" locale="en"> to  <phyphox version="1.2.0" locale="en"> so as to match the current version of Phyphox on my phone; and <sensor type="accelerometer" rate="0"> to  <sensor type="accelerometer" rate="50">

When I loaded this experiment onto Google Drive and logged in phyphox://[URL], the error shows as
''exp_error
Could not load experiment: Invalid experiment file. Unkown file format.''
I would really appreciate if you guys could show me where I could have gone wrong in my practice.

2) I managed to add the experiment to Phyphox by sending through email and opening directly with Phyphox.
However, there is a function missing in Github version compared to the version from AppStore,
which is the Peak Frequency (Hz) - Time graph in the History section (you can see in my attachment below.
Where should I find the code for the missing part?

Thank you so much for your time!


Attached Files Thumbnail(s)
   
Reply
#2
(06-08-2026, 06:29 AM)nguyenkhoi Wrote: 1) I originally took the code from https://github.com/phyphox/phyphox-exper...um.phyphox
Then I changed <phyphox version="1.7" locale="en"> to  <phyphox version="1.2.0" locale="en"> so as to match the current version of Phyphox on my phone; and <sensor type="accelerometer" rate="0"> to  <sensor type="accelerometer" rate="50">

When I loaded this experiment onto Google Drive and logged in phyphox://[URL], the error shows as
''exp_error
Could not load experiment: Invalid experiment file. Unkown file format.''
I would really appreciate if you guys could show me where I could have gone wrong in my practice.

Without seeing the actual link I cannot be entirely sure, but when hosting experiment configurations on such cloud services, the typical problem is that the URL is not pointing to the file itself but to a website with a download button. In this case phyphox does not see the file, but a HTML page and of course has no idea how to get to the file from there. So, please check if the URL in your QR code opens a webpage with a download button or if it directly starts the download.

(06-08-2026, 06:29 AM)nguyenkhoi Wrote: 2) I managed to add the experiment to Phyphox by sending through email and opening directly with Phyphox.
However, there is a function missing in Github version compared to the version from AppStore,
which is the Peak Frequency (Hz) - Time graph in the History section (you can see in my attachment below.
Where should I find the code for the missing part?

Thank you so much for your time!

The problem is that your github link is pointing to a really old version of the experiment configuration from 8 years ago. Do you know where you found this particular link?
The current version can be found at https://github.com/phyphox/phyphox-exper...um.phyphox. (Sorry, the forum's automatic kicks in for this link - select "Download config file" to see the github page.) If you only changed the sensor rate, it is probably easier to just take the new version and again set the rate in there.
Reply


Forum Jump: