<?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 Hex values in ESP in Streaming Analytics</title>
    <link>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/502615#M96</link>
    <description>&lt;P&gt;How can we easily convert hex values in SAS ESP?&lt;/P&gt;&lt;P&gt;Eg. In a Rabbit queue we have a message containing "B6" witch needs to be interpreted as "182".&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using ESP5.1 and 5.2&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2018 08:19:40 GMT</pubDate>
    <dc:creator>MartinJ</dc:creator>
    <dc:date>2018-10-09T08:19:40Z</dc:date>
    <item>
      <title>Hex values in ESP</title>
      <link>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/502615#M96</link>
      <description>&lt;P&gt;How can we easily convert hex values in SAS ESP?&lt;/P&gt;&lt;P&gt;Eg. In a Rabbit queue we have a message containing "B6" witch needs to be interpreted as "182".&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using ESP5.1 and 5.2&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 08:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/502615#M96</guid>
      <dc:creator>MartinJ</dc:creator>
      <dc:date>2018-10-09T08:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hex values in ESP</title>
      <link>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/503148#M102</link>
      <description>&lt;P&gt;There isn't a built in function for this in the functional window or compute window.&amp;nbsp; You could use a python window or write a C++ function to do this.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 16:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/503148#M102</guid>
      <dc:creator>AndyT_SAS</dc:creator>
      <dc:date>2018-10-10T16:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hex values in ESP</title>
      <link>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/503308#M103</link>
      <description>&lt;P&gt;Thanks AndyT. I have created a mas for this and that works fine!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;mas-module module="New_Module_1" language="python" func-names="hextodex"&amp;gt;&lt;BR /&gt;&amp;lt;code&amp;gt;&amp;lt;![CDATA[def hextodex(sensorID):&lt;BR /&gt;"Output: sensorID_N"&lt;BR /&gt;sensorID_N = int(sensorID, base=16)&lt;BR /&gt;return sensorID_N]]&amp;gt;&amp;lt;/code&amp;gt;&lt;BR /&gt;&amp;lt;/mas-module&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 05:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Streaming-Analytics/Hex-values-in-ESP/m-p/503308#M103</guid>
      <dc:creator>MartinJ</dc:creator>
      <dc:date>2018-10-11T05:28:28Z</dc:date>
    </item>
  </channel>
</rss>

