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 can you graph read values? (Read 4333 times)
Steve15
Junior Member
**
Offline


Posts: 16
Location: chicago
Joined: Dec 21st, 2012
can you graph read values?
Dec 25th, 2012 at 4:03am
Print Post  
i been trying to find out if there is a way to graph the read values from a breakpoint when hit.. {X}, i would like to graph the value of X

thanks for you help
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: can you graph read values?
Reply #1 - Dec 25th, 2012 at 10:59pm
Print Post  
Hi,

I hope to add a standard example for this to the next release. 

Currently the only "read-to-go" example for creating your own graphical value display is a "Dial" control.

If you are ok with C# I can give you some info that will help you create your own rolling graph control.

Once you have a control it is easy to plugin to the debugger and receive breakpoint values.

If you don't have c# experience then I'll try to find time to put an example together over the next week but can't promise anything. Time is short until late in January.

  
Back to top
IP Logged
 
Steve15
Junior Member
**
Offline


Posts: 16
Location: chicago
Joined: Dec 21st, 2012
Re: can you graph read values?
Reply #2 - Dec 25th, 2012 at 11:05pm
Print Post  
oh ok thanks for the reply, i have not used C# before but im going to look into it
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: can you graph read values?
Reply #3 - Dec 25th, 2012 at 11:31pm
Print Post  
The c# sources of all the debugger controls installed with the debug upgrade. 

The sources are very crude because I had no time to make them neat (hence the "beta"). However they will provide the info and a base for you to work with.

I just need to write a good document of how to do this.

There is some instruction in this link  http://www.visualmicro.com/page/How-to-configure-arduino-debugger-visualizations... but I don't know how accurate it is with the current vm debugger. It will be close but might not be 100%

If you manage to clone one of the vm examples then I can help you finish it off.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint