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.

Change Sample Rate?
#1
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?
Reply
#2
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.
Reply
#3
(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.
Reply
#4
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
Reply


Forum Jump: