Does anyone make the real time heatmap on Freemaster script?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Does anyone make the real time heatmap on Freemaster script?

1,280 次查看
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 项奖励
回复
4 回复数

1,164 次查看
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 项奖励
回复

1,164 次查看
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 项奖励
回复

1,164 次查看
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 项奖励
回复

1,164 次查看
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 项奖励
回复