FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kTimeAvg_SampleDiff ( kTimeAvg  stat,
k64u timeDiff,
k64s valueDiff 
)

Reports the time and value differences between the last and first samples.

Parameters
statkTimeAvg object.
timeDiffReceives the time difference (microseconds) between the last and first samples in the dataset.
valueDiffReceives the value difference between the last and first samples in the dataset.
Returns
Operation status; kERROR_STATE if less than two samples.