<?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>topic Is it possible to get a symbol data type using the ActiveX API? in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1562675#M1209</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The ActiveX API provides a method GetSymbolInfo, which returns address and size for an input symbol name.&lt;/P&gt;&lt;P&gt;But I also need the data type, and I don't see any API feature to get this info.&lt;/P&gt;&lt;P&gt;I am using TSA tables in my embedded application, so I would expect the data type information to be available to the host.&lt;/P&gt;&lt;P&gt;Do you confirm this feature is missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Dec 2022 08:43:01 GMT</pubDate>
    <dc:creator>lucabarbiero</dc:creator>
    <dc:date>2022-12-01T08:43:01Z</dc:date>
    <item>
      <title>Is it possible to get a symbol data type using the ActiveX API?</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1562675#M1209</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The ActiveX API provides a method GetSymbolInfo, which returns address and size for an input symbol name.&lt;/P&gt;&lt;P&gt;But I also need the data type, and I don't see any API feature to get this info.&lt;/P&gt;&lt;P&gt;I am using TSA tables in my embedded application, so I would expect the data type information to be available to the host.&lt;/P&gt;&lt;P&gt;Do you confirm this feature is missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Dec 2022 08:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1562675#M1209</guid>
      <dc:creator>lucabarbiero</dc:creator>
      <dc:date>2022-12-01T08:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get a symbol data type using the ActiveX API?</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1562703#M1211</link>
      <description>&lt;P&gt;Hello Luca,&lt;/P&gt;
&lt;P&gt;I confirm this is not possible with the current version, the GetSymbolInfo only returns address and size of the symbol or it evaluates a complex expression similarly as the Variable definition dialog does. Note that this evaluation may access multiple symbols (e.g. there can be a mix of symbol names and multiple&amp;nbsp; sizeof(x) and valueof(z) operators). This is why it is not just one symbol whose name we would return.&lt;/P&gt;
&lt;P&gt;But I agree that in most of the cases, you are just interested in a simple symbol name lookup and in this case, returning the type name is a good idea. Added to backlog for 3.2.2 (also for GetAddressInfo).&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 09:20:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1562703#M1211</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2022-12-01T09:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get a symbol data type using the ActiveX API?</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1567495#M1218</link>
      <description>&lt;P&gt;Hi Michal,&lt;/P&gt;&lt;P&gt;If I may add to the backlog, it would be good to also get the length info for arrays through the API. When I generate FreeMASTER variables&amp;nbsp;from an array symbol using the Windows app, it knows the length of arrays and it can generate as many variables as the number of array elements.&lt;/P&gt;&lt;P&gt;Just getting the length info and the start address via API would enable me to script something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 12:30:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1567495#M1218</guid>
      <dc:creator>lucabarbiero</dc:creator>
      <dc:date>2022-12-09T12:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get a symbol data type using the ActiveX API?</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1567497#M1219</link>
      <description>&lt;P&gt;Hello Luca,&lt;/P&gt;
&lt;P&gt;you should be able to use GetSymbolInfo on the array symbol to retrieve its byte-wise size. Then you can use GetSymbolInfo on the array[0] symbol to retrieve a size of one element. Dividing the two should give you a count.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Michal&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 12:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1567497#M1219</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2022-12-09T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get a symbol data type using the ActiveX API?</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1567498#M1220</link>
      <description>&lt;P&gt;Ok understood, that is the trick. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 12:40:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Is-it-possible-to-get-a-symbol-data-type-using-the-ActiveX-API/m-p/1567498#M1220</guid>
      <dc:creator>lucabarbiero</dc:creator>
      <dc:date>2022-12-09T12:40:15Z</dc:date>
    </item>
  </channel>
</rss>

