Change numeric format of recorder scale

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Change numeric format of recorder scale

Jump to solution
645 Views
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 Kudos
1 Solution
635 Views
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

View solution in original post

3 Replies
559 Views
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 Kudos
624 Views
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 Kudos
636 Views
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