Honestly, you will probably need to read the data the entire time, and then in software determine that if the rate is increasing then you don't want to log to disk. As soon as the rate begins decreasing though you will want to begin logging to disk.
You will have to give us much more information such as how you are reading the velocity, how long the tests are, and how many channels of what types of data you are trying to analyze.