<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>FreeMASTERのトピックRe: Handle a recorder in JS</title>
    <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213446#M529</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which NXP product do you use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 15:25:14 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2021-01-18T15:25:14Z</dc:date>
    <item>
      <title>Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213275#M528</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;there is an example that describes how to implement a recorder in JS scripting?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fausto&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 10:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213275#M528</guid>
      <dc:creator>FaustoPignatta</dc:creator>
      <dc:date>2021-01-18T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213446#M529</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Which NXP product do you use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 15:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213446#M529</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2021-01-18T15:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213450#M530</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I'm using Freemaster to create a debug page of my application (that runs on s32k148 micro). I have created an html page and use JS scripting.&lt;/P&gt;&lt;P&gt;I've tried to use this function&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;PCM&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;prototype&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;SetupRecorder&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;vars&lt;/SPAN&gt;&lt;SPAN&gt;)... (freemaster-client.js)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;without success.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fausto&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Jan 2021 15:29:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1213450#M530</guid>
      <dc:creator>FaustoPignatta</dc:creator>
      <dc:date>2021-01-18T15:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216640#M531</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182431"&gt;@FaustoPignatta&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Are you using FreeMASTER (GUI tool) or FreeMASTER Lite as a backend for html page ?&lt;/P&gt;
&lt;P&gt;I am asking because SetupRecorder is a special case - specific to FreeMASTER Lite (won't work with main FreeMASTER tool). The GUI tool has an alternative function DefineRecorder (6.5.41 User Manual).&lt;/P&gt;
&lt;P&gt;Depending on your use case we will provide a corresponding example.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Iulian&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 07:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216640#M531</guid>
      <dc:creator>iulian_stan</dc:creator>
      <dc:date>2021-01-19T07:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216656#M532</link>
      <description>&lt;P&gt;Hi Iulian,&lt;/P&gt;&lt;P&gt;I'm using Freemaster (Gui Tool), and i put in my project these files (like I see in scripting example ..\FreeMASTER 3.0\FreeMASTER\examples\scripting\JavaScript-JSON-RPC):&lt;/P&gt;&lt;P&gt;- freemaster-client.js&amp;nbsp;&lt;/P&gt;&lt;P&gt;- simple-jsonrpc.js&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Fausto&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 08:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216656#M532</guid>
      <dc:creator>FaustoPignatta</dc:creator>
      <dc:date>2021-01-19T08:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216737#M533</link>
      <description>&lt;P&gt;Dear Fausto,&lt;/P&gt;
&lt;P&gt;The Oscilloscope is more a user-interactive feature than a programmatic one in the FreeMASTER Desktop application. There is actually no JSON-RPC API to consume oscilloscope data in the script as such script would depend heavily on what oscilloscope&amp;nbsp;item is currently selected in the project tree.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is an API though to create the Oscilloscope item and populate it with selected variables just like if the user would create it by hand. There is also an API to activate the newly created item in the project tree so that the oscilloscope graph becomes visible in the desktop window. See DefineOscilloscope and SelectItem API calls in the User Guide.&lt;/P&gt;
&lt;P&gt;In the FreeMASTER Desktop application, the only way how to get variable values in run-time is reading them programmatically in a script using the ReadVariable or similar methods. This is a good approach as it works any time, regardless of what screen the user currently activates in the UI.&lt;/P&gt;
&lt;P&gt;As Iulian mentioned above, the FreeMASTER Lite backend enables an access to Oscilloscope feature at the protocol level, so it might be more suitable for you if you really need a high-speed data sampling.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Michal&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 09:17:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216737#M533</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2021-01-19T09:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Handle a recorder in JS</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216767#M534</link>
      <description>&lt;P&gt;Hi Michal,&lt;/P&gt;&lt;P&gt;thanks for the suggestion. I've declared some array MCU side and read them in my desktop application with&amp;nbsp;&lt;SPAN&gt;pcm&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ReadUIntArray function. In my application I don't need to see real time values but only to acquire them in the fastest way, and at the end of process analyze them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Fausto&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 09:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Handle-a-recorder-in-JS/m-p/1216767#M534</guid>
      <dc:creator>FaustoPignatta</dc:creator>
      <dc:date>2021-01-19T09:48:41Z</dc:date>
    </item>
  </channel>
</rss>

