How to show Matrix array on Freemaster

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

How to show Matrix array on Freemaster

跳至解决方案
1,418 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi team, 

Customer is using Freemaster version 3.2.0.5 successfully, except for the following struct:

typedef struct
{
    DIRECTION direction;                                           				
    int16_t encoderEventImpulses[ARRAY_SIZE_MOTORS][MAX_NUM_OF_ENCODER_EVENT+1];          						
    bool encoderEventEnable[ARRAY_SIZE_MOTORS][MAX_NUM_OF_ENCODER_EVENT+1];
    uint16_t encoderEventSize[ARRAY_SIZE_MOTORS];                                          						
    int16_t angleLoaded[ARRAY_SIZE_MOTORS];																		

    bool changeSign;																							
    uint16_t angleEnabledCounter;										
    uint16_t angleUsableIndex;										
	NUMMOT motorNum;								
	uint16_t numOfEncoderCompareAngleChangedListener[ARRAY_SIZE_MOTORS];		
}tEncoderEvent;

As you can see some struct members, such as encoderEventImpulses, are array matrixes.

How can customer show this kind of values on FreeMASTER?

Thank you in advanced.

0 项奖励
回复
1 解答
1,407 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @_Leo_,

FreeMASTER has no visualization options for multidimensional arrays.

What FreeMASTER can offer out of the box is:

  1. Display each matrix element as separate variable in Variable Watch
  2. Plot columns/rows as arrays (one dimension) using Array Viewer (User Guide - chapter 4.1.1.4).

Most flexible visualization option is to use FreeMASTER embedded web engines:

  1. Read all values via JavaScript (User Guide - chapter 6)
  2. Visualize data in a HTML page

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,408 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @_Leo_,

FreeMASTER has no visualization options for multidimensional arrays.

What FreeMASTER can offer out of the box is:

  1. Display each matrix element as separate variable in Variable Watch
  2. Plot columns/rows as arrays (one dimension) using Array Viewer (User Guide - chapter 4.1.1.4).

Most flexible visualization option is to use FreeMASTER embedded web engines:

  1. Read all values via JavaScript (User Guide - chapter 6)
  2. Visualize data in a HTML page
0 项奖励
回复
1,399 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi @iulian_stan,

Thank you very much for your help.

0 项奖励
回复