Does anyone make the real time heatmap on Freemaster script?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does anyone make the real time heatmap on Freemaster script?

1,151 Views
ycage0123
Contributor II

I am just making the real time heatmap with d3_js.
But it dosen't change the data in real time.
And d3_js is difficult to me, I guess.
Could you tell me the easiest way to making the real time heatmap?

pastedImage_1.png

0 Kudos
4 Replies

1,035 Views
iulian_stan
NXP Employee
NXP Employee

Hi ycage0123@yahoo.co.jp‌,

Could you share your FreeMASTER project (including HML/JS resources) so I can better understand:

  • Whether you are using ActiveX or JSON-RPC API
  • How the API methods are called
  • Whether the issue lies with FreeMASTER API or the usage of D3.js library

Please note - the "easiest way" depends on the frameworks / libraries you are most experienced with. We do not promote any specific front-end technology, so the choice if yours, as application developer, to make.

Kind regards,

Iulian

0 Kudos

1,035 Views
ycage0123
Contributor II

Hello, Iulian!

Thank you for your kindness reply.

But I cannot share my project because it is complexity.

I will reconsider the way to making heatmap.

Best, ko ik

0 Kudos

1,035 Views
iulian_stan
NXP Employee
NXP Employee

I understand. In this case, the best I could do is recommend checking out some existing examples for your heatmap. Considering you mentioned d3js there are few examples here, I took one of those and modified it as how I would see it working in FreeMASTER. It updates the map with random values each 2 seconds, which should be replaced with data read from the target board. Here's how it looks:

Capture.PNG

0 Kudos

1,035 Views
ycage0123
Contributor II

Hi, Iulian!

Many many thanks for your attachment file. 

This file is easy to understand, I guess.

I will try to programming my heatmap refer to this file.

Best regards, ko ik

0 Kudos