Hot!Plotting Data (Graph) on LLC graphics using Harmony Graphics composer

Author
Nagendra
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2016/06/15 08:16:53
  • Location: 0
  • Status: offline
2016/07/06 12:07:15 (permalink)
0

Plotting Data (Graph) on LLC graphics using Harmony Graphics composer

Hello All,
I have a requirement of plotting data points i.e graphs on my Graphical dev board (PIC32 GUI Dev Board). Is there any widget available to plot the  graph or we need to create custom widget? Appreciate any suggestions or help.
- I have used MPLAB Harmony graphics composer for creation of all screens and widgets required for my application. 
Thank you.
-Nagendra.
 
#1
NKurzman
A Guy on the Net
  • Total Posts : 14526
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Plotting Data (Graph) on LLC graphics using Harmony Graphics composer 2016/07/06 12:31:04 (permalink)
0
No there is No Graph widget.  You can either make you own widget, or plot directly to the screen using the primitive functions.  It is actually not that hard.
#2
Nagendra
New Member
  • Total Posts : 16
  • Reward points : 0
  • Joined: 2016/06/15 08:16:53
  • Location: 0
  • Status: offline
Re: Plotting Data (Graph) on LLC graphics using Harmony Graphics composer 2016/07/06 12:42:39 (permalink)
0
ok Thank you @NKurzman! I will work on it!
#3
Sobottech
Junior Member
  • Total Posts : 104
  • Reward points : 0
  • Joined: 2015/12/02 03:32:17
  • Location: 0
  • Status: offline
Re: Plotting Data (Graph) on LLC graphics using Harmony Graphics composer 2017/08/12 04:02:50 (permalink)
0
What about the SEGGER emWin?
Starting GUIBuilder.exe (C:\microchip\harmony\v2_03b\utilities\segger\emwin) there is "Graph".
Well, really got to look at the 8594 pages "MPLAB Harmony Help File and Release Notes_v203b.pdf" and page 8362 seems interesting, but are there tutorials? What to make with harmony and how to get a .c file to open in GUIBuilder.. specially for graph? Yes, there is SEGGER emWin Audio Player Tutorial http://microchipdeveloper...yer-intro#Steps_anchor
Someone worked with that third-party tool?
 
Really hoping Harmony 2.04/Harmony 2.4 Harmony 4 or what ever Harmony non Beta got a Graph widget...
post edited by Sobottech - 2017/08/12 04:06:03
#4
alpeshsondagar
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2017/08/11 09:39:04
  • Location: 0
  • Status: offline
Re: Plotting Data (Graph) on LLC graphics using Harmony Graphics composer 2017/08/12 09:38:35 (permalink)
0
Hello guys
I want to implement TFT color LCD. I have downloaded MPLAB harmony software. Any example link for beginners levels... 
#5
Michael.W.Mann
Super Member
  • Total Posts : 175
  • Reward points : 0
  • Joined: 2011/01/24 09:58:24
  • Location: Chandler, Arizona
  • Status: offline
Re: Plotting Data (Graph) on LLC graphics using Harmony Graphics composer 2017/08/13 08:43:19 (permalink)
3 (1)
First,  I would recommend you examine the graphics demos that are in Harmony 2.03beta (2.04 is coming) and start by running one of these demos.  But it sounds like the hardware you have isn't supported by any of these demos, so you will either have to buy one of the supported configurations or reengineer a demo onto your hardware.
 
Microchip completely rewrote the documentation for the MPLAB Harmony Graphics Composer for 2.03b and improved it for 2.04.  
 
As far as a graphics widget:  No we don't currently have a single widget to do (x,y) plotting.  I've seen spectrum analyzer or graphics equalizer plots constructed by stacking vertical progress bars across the display (one bar for every frequency band).

Michael W. Mann
Principal Applications Engineer
MCU32 Applications, Microchip
#6
UIG
Super Member
  • Total Posts : 108
  • Reward points : 0
  • Joined: 2015/02/20 09:44:18
  • Location: 0
  • Status: offline
Re: Plotting Data (Graph) on LLC graphics using Harmony Graphics composer 2017/08/18 14:13:48 (permalink)
0
2.04 will not have a formal graphing widget.  Others have used the Draw Surface widget to accomplish something similar however.  The Draw Surface will emit a callback during Aria's paint loop.  During this callback you can make primitive calls to the HAL and use APIs like DrawPixel or DrawLine to draw your data.  This content is managed entirely by your application.
 
You also then need to manage the validity of your content.  In 2.03 if you need to draw more data you would call laWidget_Invalidate on your draw surface.  This method still works in 2.04 but you can also call laLayer_AddDamageRect to invalidate only specific portions of your content for redraw.
post edited by UIG - 2017/08/18 14:16:53

MCU32 User Interface Group (MHC/Graphics/Touch)
#7
Jump to:
© 2017 APG vNext Commercial Version 4.5