Change numeric format of recorder scale

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Change numeric format of recorder scale

ソリューションへジャンプ
785件の閲覧回数
scotty
Contributor III

Dear Michal, FreeMASTER developers and power users,

I use a recorder to monitor the Unix time which is right now around 1684321580. These are ten digits.

Though the variable is an integer value, the scaling shows a decimal fraction with the suffix B (assumingly for "billion" = 10^9).

Is it possible to change the numeric format?

It would be nice to see all digits, preferably with some decimal separators, for example 1,684,321,580 (if the American style is used).

Take care,
michaeL

scotty_0-1684321526826.png

 

 

0 件の賞賛
1 解決策
775件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello Michael,

the way the graphing component renders the Y axis is not easy to change.

I would recommend to post process the variable using linear transformation for example: (a=1, b=-1682892000) so you would rebase your Unix timestamp to May 1st 2023. This way the numeric values would be within a better range and should display better in graphs. 

Regards,
Michal

元の投稿で解決策を見る

3 返答(返信)
699件の閲覧回数
scotty
Contributor III

It works:

scotty_0-1685040963452.png
Here, I used an offset which is related to Thu May 25 2023 18:40:00 GMT+0000.

 

0 件の賞賛
764件の閲覧回数
scotty
Contributor III

Thank you, Michal, for your prompt response. - This solution sounds reasonable.

I will try it soon. (Today, here is a Holiday.)

Regards,
michaeL

0 件の賞賛
776件の閲覧回数
MichalH
NXP Apps Support
NXP Apps Support

Hello Michael,

the way the graphing component renders the Y axis is not easy to change.

I would recommend to post process the variable using linear transformation for example: (a=1, b=-1682892000) so you would rebase your Unix timestamp to May 1st 2023. This way the numeric values would be within a better range and should display better in graphs. 

Regards,
Michal