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
Locked Topic How get @plot visualization working? (Read 7243 times)
DanVisualMicroForumName
Newbies
*
Offline


Posts: 3
Joined: Oct 25th, 2015
How get @plot visualization working?
Oct 25th, 2015 at 7:20pm
 
Hi guys, is there a status update on accessing visualizations? I tried replicating the "when hit" tracepoint "Print message '{@Plot.millis()}'" from the http://www.visualmicro.com/post/2015/08/16/Arduino-Breakpoint-Command-Syntax-Plo... example but it throws the following error, without the breakpoint action set the program works without problems:

ESP8266_HW_Serial_Blynk.ino:65:162: error: stray '@' in program
ESP8266_HW_Serial_Blynk.ino:In function 'void loop()'
ESP8266_HW_Serial_Blynk.ino:65:163: error: 'Plot' was not declared in this scope
Error compiling
« Last Edit: Oct 25th, 2015 at 7:27pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How get @plot visualization working?
Reply #1 - Oct 25th, 2015 at 7:28pm
 
Hi,

Which version of visual micro are you using in which ide?

The vm version is in tools>options>visual micro>version

Thanks
« Last Edit: Oct 25th, 2015 at 7:29pm by Tim@Visual Micro »  
Back to top
IP Logged
 
DanVisualMicroForumName
Newbies
*
Offline


Posts: 3
Joined: Oct 25th, 2015
Re: How get @plot visualization working?
Reply #2 - Oct 25th, 2015 at 7:41pm
 
VM version is 1.1510.22, IDE is MS Visual Studio Community 2015 version 14.0.23107.0 D14REL.

I apologize for the forum issues I had posting this. was trying to upload a more accurate screenshot and I think I spooked the system with the changes.

Edit: For the image below, I can get the default reporting to work, just not the @Plot reporting.
« Last Edit: Oct 25th, 2015 at 7:51pm by DanVisualMicroForumName »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How get @plot visualization working?
Reply #3 - Oct 25th, 2015 at 7:48pm
 
No probs, our messages crossed and thanks for the clear info Smiley

The plot won't appear in the automated reports list because it isn't an automatic system.

You have to use the {@plot syntax in the breakpoint and then it should automatically enable

I think/hope it's just your syntax is wrong.

The @plot command allows you to plot multiple values from different locations so it allows you to specify a chart name and/or a window name. These items are separated with dots. Then a space will follow prior to the data you want to plot.

I think all of the following would work:-

Code
Select All
{@Plot.MyChart millis()} 


Code
Select All
{@Plot.MyCharts.Chart1 millis()} 


Code
Select All
{@Plot.MyCharts.Chart1.Blue millis()} 


  
Back to top
IP Logged
 
DanVisualMicroForumName
Newbies
*
Offline


Posts: 3
Joined: Oct 25th, 2015
Re: How get @plot visualization working?
Reply #4 - Oct 25th, 2015 at 8:02pm
 
Yep, operator error. The three commands you posted above all worked! Was squinting to read them on the screenshot at http://www.visualmicro.com/post/2015/08/16/Arduino-Breakpoint-Command-Syntax-Plo... and missed the space after the @Plot command. Thank you!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint