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 Colours used in analogue visualisation (Read 1049 times)
CottageMusicTechnology
Newbies
*
Offline


Posts: 2
Location: Melbourne
Joined: Dec 21st, 2018
Colours used in analogue visualisation
Apr 28th, 2019 at 2:56am
Print Post  
Hi,

Firstly, thanks for an excellent product.  I just wanted to provide some feedback on the use of colours.

I find the analogue visualisation view hard to use because of some colour blindness problems.  Equally some people red/green colour blindness would likely struggle with the digital visualisation view.


I would find it a great help to be able to control two additional factors in the view:


1) Which pins I am monitoring (with a Teensy 3.6 there 32 lines so the graph gets very messy).  Generally I'm only wanting to look at a couple of them at a time.


2) Which colours are used for those lines.  Being able to reduce the number of traces on the view would then let me use the limited set of colours to my best advantage.


Not a big thing I'm sure on the roadmap but one that I'd love to see.


Cheers,
Jason.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Colours used in analogue visualisation
Reply #1 - Apr 28th, 2019 at 2:03pm
Print Post  
Thanks for the feedback it's always appreciated and always appreciate a review in the Microsoft gallery too Smiley

It sounds like you should switch off the automatic analog reporting and use the @plot system instead. The @plot system allows you to decide which pins are monitored and you have more control over colors, line width, triggers etc.

See the serial debugger @plot documentation

In short you just need to add one or more @plot statements in a breakpoint message and optionally tick "Continue Execution".

Code
Select All
{@Plot.MyPlotWindow.MyAnalog5.Green analogRead(5)}

{@Plot.MyPlotWindow.Sensor.Green voltage}

{@Plot.MyPlotWindow.Temp.Blue temperature}
 



Multiple plot statements in a single breakpoint message is simply a matter of adding them in the single line:-
Code
Select All
 [code]{@Plot.MyPlotWindow.MyAnalog2.Black analogRead(2)}{@Plot.MyPlotWindow.MyAnalog5.Green analogRead(5)}
 




You can combine charts in the same windows as per above example or split into different windows by changing the window name. Here we have analog result in window 1 and voltage/temp in window2

Code
Select All
{@Plot.MyPlotWindow1.MyAnalog5.Green analogRead(5)}

{@Plot.MyPlotWindow2.Sensor.Green voltage}

{@Plot.MyPlotWindow2.Temp.Blue temperature}
 


« Last Edit: Apr 28th, 2019 at 2:08pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint