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

Display error in Yamcs Studio text update #109

Closed nmaas87 closed 3 years ago

nmaas87 commented 3 years ago

I found two problems a) Yamcs Studio Text Update Widget does always show parameters as float, even if they are an integer. The PV-Info does show it correct, but the Text Update Widget not b) Yamcs Studio Text Update Widget does some weird rounding/display error with floats as shown in the screenshot. This error does not show up in Yamcs Web or the PV Info, but in the Text Update Widget.

float_error_masked

Cheers,

Nico

fqqb commented 3 years ago

Thanks, both are now fixed on master, for inclusion in next release. Details:

a) Came from casting int/long to double before printing b) Came from casting float to double, before printing