How do I calculate an average slope over a moving 5sec window?

To display an average slope, you can use the derivative function in the channel drop down menu or the differential function in the arithmetic menu. In both cases though the window size is limited to 999 samples so if you are sampling at 1KHz, this would only give you a 1 sec moving window.
 
A workaround would be to use an Arithmetic expression like:
 
diff(resample(ch1,10),500)
 
to decimate by a factor of 10, which would give a 5 second window if the original sample rate was 1kS/s. You will need to vary the decimation factor and sample size according to the sampling rate used on your data.
 

For further technical assistance with this or any other issue, please contact ADInstruments Technical Support by clicking HERE.