yamcs / yamcs-studio

Desktop TM/TC Client for Yamcs
https://docs.yamcs.org/yamcs-studio/
Eclipse Public License 2.0
27 stars 14 forks source link

Using formulas with XY Chart may lead to empty plots #47

Closed fqqb closed 6 years ago

fqqb commented 6 years ago

When a formula contains a parameter as well as, say, some constant. The date is determined by the latest of each of the formula components.

=3+'/some/parameter'

The constant (3) also gets timetagged (with the local date). So when replaying old data the end result is not tagged with the correct date.

Further the constant does not receive updates causing no trace to appear.

fqqb commented 6 years ago

Fixed on master. As soon as at least one parameter is involved in a formula. Timestamps associated with other types of pvs are ignored (e.g. constants).