Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Debugging and @plot (Read 973 times)
MikeM
Junior Member
**
Offline


Posts: 17
Location: Swindon
Joined: Nov 6th, 2024
Debugging and @plot
Nov 7th, 2024 at 9:04pm
Print Post  
Version no 2.2024.0926 Version minor 3

There seems to be an issue with the rescaling of the Y axis.
When the variable range is "small" say 1-2000, the rescaling seems to work OK.

My coding is a bit "naughty" at the moment and on startup it throws numbers up to 977919.93 ( yes it an FP number).
@plot tries to cope, but when the number falls, the Y axis scaling remains.
The result is a flat line across the bottom of the graph
  
Back to top
 
IP Logged
 
MikeM
Junior Member
**
Offline


Posts: 17
Location: Swindon
Joined: Nov 6th, 2024
Re: Debugging and @plot
Reply #1 - Nov 7th, 2024 at 9:10pm
Print Post  
Version no 2.2024.0926 Version minor 3

Plotting doesnt restart when reconnecting to a board running the debugger. An upload is required to see the plots.

This may be as intended, I havent been able to find any reference to this.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: Debugging and @plot
Reply #2 - Nov 11th, 2024 at 4:49pm
Print Post  
Thanks for the detail and updates around this.

Can you try the latest release (24.1111.0) which will resolve:
1) The Y-Axis scaling issues (when the out of range data point leaves the left hand side of the view)
2) The @Plot Visualization will now load when opening the Serial Monitor after restarting Visual Studio

Let us know if you have any issues with these fixes.
  
Back to top
IP Logged
 
MikeM
Junior Member
**
Offline


Posts: 17
Location: Swindon
Joined: Nov 6th, 2024
Re: Debugging and @plot
Reply #3 - Nov 19th, 2024 at 2:12pm
Print Post  
Latest version deployed and both issues fixed - nearly.
Sorry to pedantic.

The plotting restarts when reconnecting to a board running debugging. 

The rescaling of the Y axis of a plot is a bit inconsistant, depending on which direction the signal is changing.

On a falling signal, the axis only rescales after the highest value has left the plot area.

On a rising signal, the Y axis rescales immediately the signal goes out of range.



  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint