Operation | Description |
start | Starts the calculation of differences. Must be called before any output events are sent. |
stop | Stops the calculation of further coefficients. Any subsequent input feeds are ignored. |
clear | Discards all current data. |
Feed | Fields | Description |
data1 | value | The first feed of values. |
time | The timestamp of the data point. Leave unmapped (i.e. left as 0) to set the time as the correlator’s current time. | |
data2 | value | The second feed of values. |
time | The timestamp of the data point. Leave unmapped (i.e. left as 0) to set the time as the correlator’s current time. |
Feed | Fields | Description |
statistics | last1 | The most recent value sent to the data1 feed. |
time1 | The time of the most recent value sent to the data1 feed. | |
last2 | The most recent value sent to the data2 feed. | |
time2 | The time of the most recent value sent to the data2 feed. | |
spread | Difference between last1 and last2. Will be negative if last2 is greater than last1. |