phyphox Forums

Full Version: Change Sample Rate?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to measure long term changes in atmospheric pressue and therefore I don't need a high sampling rate. Is wading through the complexities of XML the only way to change the rate? And what is the default? I see references to the rate in Hz, but does that mean?
You could add a so-called “simply experiment” by tapping “+” in the main menu and entering a rate (far) below 1 Hertz (per second). The default is as fast as possible, whatever that means for a specific sensor.
(03-31-2023, 01:16 PM)Jens Noritzsch Wrote: [ -> ]You could add a so-called “simply experiment” by tapping “+” in the main menu and entering a rate (far) below 1 Hertz (per second). The default is as fast as possible, whatever that means for a specific sensor.

Thank you for the reply. I should have mentioned I am using PhyPhox with a databot and I don't see how to create a databot experiment in the app.
Ok, you're right: that's not possible.

There are three options (for two you need to ask the databot manufacturer):
1. Configure the rate of notifications on the databot
2. Poll the databot if it supports that. Then you could set a rate in the .phyphox file format, see https://phyphox.org/wiki/index.php/Bluetooth_Low_Energy
3. Create a temporary buffer for the data of length 1, set the “sleep” attribute of the “analysis” block to the desired time, and add an expression that appends the temporary to the original buffer, see https://phyphox.org/wiki/index.php/Phyphox_file_format