Hello,
When you select an Array to be visualized in a Scope, if you select the full array name, you can only “Create a single Variable”. In this case, FreeMaster in reading only Array[0] or the full array?
Luis
Solved! Go to Solution.
Hi Luis,
FreeMASTER does not enable to visualize arrays natively. This is a feature we plan to have in a future version. FreeMASTER is only able to put single variables to variable Watch view and/or to Oscilloscope and Recorder graphs. The graph then displays how the selected variable evolves in time.
In any case, you can write a JavaScript to access the array memory and visualize the array your custom way in the HTML page. We have an example available of this approach.
If you do not want to deal with scripting, the easiest way to visualize array using a bare FreeMASTER is to generate a FreeMASTER variables for each element of the array and put them to variable Watch (see User Guide section 4.2.1.1). This is only good for short arrays though.
For graphing, there are some options too:
Of course there can be more scenarios where array visualization would be needed and we realize it is not always easy to do with FreeMASTER. We will try to address this limitation in future development.
Thanks,
Michal
Hi Luis,
FreeMASTER does not enable to visualize arrays natively. This is a feature we plan to have in a future version. FreeMASTER is only able to put single variables to variable Watch view and/or to Oscilloscope and Recorder graphs. The graph then displays how the selected variable evolves in time.
In any case, you can write a JavaScript to access the array memory and visualize the array your custom way in the HTML page. We have an example available of this approach.
If you do not want to deal with scripting, the easiest way to visualize array using a bare FreeMASTER is to generate a FreeMASTER variables for each element of the array and put them to variable Watch (see User Guide section 4.2.1.1). This is only good for short arrays though.
For graphing, there are some options too:
Of course there can be more scenarios where array visualization would be needed and we realize it is not always easy to do with FreeMASTER. We will try to address this limitation in future development.
Thanks,
Michal