mirror of
https://github.com/nasa/trick.git
synced 2025-06-11 20:01:53 +00:00
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:
@ -246,12 +246,12 @@ int DPC_std_curve::getXY(double *X_value, double *Y_value) {
|
|||||||
eos = ! ds[1]->get( &t2, &v2);
|
eos = ! ds[1]->get( &t2, &v2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!eos) {
|
*X_value = v1;
|
||||||
*X_value = v1;
|
*Y_value = v2;
|
||||||
*Y_value = v2;
|
if (!eos) {
|
||||||
return(1);
|
return(1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
eos = !ds[0]->get( &t1, &v1);
|
eos = !ds[0]->get( &t1, &v1);
|
||||||
*X_value = cv_convert_double(time_conversion,t1);
|
*X_value = cv_convert_double(time_conversion,t1);
|
||||||
*Y_value = v1;
|
*Y_value = v1;
|
||||||
|
Reference in New Issue
Block a user