Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables with decimal places plot display. #97

Open
Femtometer opened this issue Nov 19, 2024 · 4 comments
Open

Variables with decimal places plot display. #97

Femtometer opened this issue Nov 19, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Femtometer
Copy link

Version/Branch:

1.0.1

Operating system:

Windows 10

Debug probe:

JLink

Microcontroller:

HT6025

Details:

Inter variable with 4 decimal places, too big for display, Maybe better by converting it to a float, EXP: 200.xxxx.

Screenshots/Video:

截图_2024-11-19_10-29-14

@Femtometer
Copy link
Author

Femtometer commented Nov 19, 2024

Max 20000 samples is too short for a 1KHz rate.

截图_2024-11-19_19-24-38

@klonyyy
Copy link
Owner

klonyyy commented Nov 19, 2024

Hello, I don't understand the first issue, could you elaborate? It's rather a very large number which obviously does not fit the plot scale, but you can use the table view to display the number, or zoom in even more.

The second point can, for now, be resolved by streaming to a CSV file, or lowering the saple rate.

@Femtometer
Copy link
Author

@klonyyy
In embedded system, we usually use integers to represent variables with decimals.
For example, my code samples voltage input. 10000 means 1.0000V.
Would MCUViewer add a coefficient that can convert data to float when it's needed?

@klonyyy
Copy link
Owner

klonyyy commented Nov 20, 2024

Now I understand - you mean the fixed point support. Yes, this feature is currently being developed, and will be available in the next release (probably mid December).

@klonyyy klonyyy self-assigned this Nov 24, 2024
@klonyyy klonyyy added this to the Advanced variable config milestone Nov 24, 2024
@klonyyy klonyyy added the enhancement New feature or request label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: TODO high priority
Development

No branches or pull requests

2 participants