How to show Matrix array on Freemaster

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

How to show Matrix array on Freemaster

Jump to solution
1,375 Views
_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 Kudos
Reply
1 Solution
1,364 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,365 Views
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 Kudos
Reply
1,356 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi @iulian_stan,

Thank you very much for your help.

0 Kudos
Reply