Data products not plotting the last recorded data point #162

Needed to save last point for comparison streams as well.
This commit is contained in:
Alex Lin 2016-08-04 08:37:27 -05:00
parent 11f4b5282e
commit 79288d2b5b

View File

@ -252,9 +252,9 @@ int DPC_std_curve::getXY(double *X_value, double *Y_value) {
eos = ! ds[1]->get( &t2, &v2);
}
}
*X_value = v1;
*Y_value = v2;
if (!eos) {
*X_value = v1;
*Y_value = v2;
return(1);
}
} else {