<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Hex-String to text DCI transformation]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">With a DCI i get a Hex-string  "56 4E 42 51 44 39 4B 30 59 46"<br />
Online i can let it translate to text ( <a href="https://coding.tools/hex-to-ascii" rel="nofollow ugc">https://coding.tools/hex-to-ascii</a> ) , then i get "VNBQD9K0YF" This is a serial number of a printer.</p>
<p dir="auto">Ho knows the Netxms scripting language to use in de transformation part of the DCI to get this Hex-string transformed to text in Netxms?</p>
<p dir="auto">Greetings</p>
]]></description><link>https://forum.netxms.org/topic/6353/hex-string-to-text-dci-transformation</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:52:11 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6353.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Dec 2019 10:11:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hex-String to text DCI transformation on Thu, 19 Dec 2019 09:28:38 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, Victor</p>
<p dir="auto">Works perfect !!</p>
]]></description><link>https://forum.netxms.org/post/27182</link><guid isPermaLink="true">https://forum.netxms.org/post/27182</guid><dc:creator><![CDATA[yordi]]></dc:creator><pubDate>Thu, 19 Dec 2019 09:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to Hex-String to text DCI transformation on Wed, 18 Dec 2019 13:43:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">this script will transform first argument from hex string (space separated) into text:</p>
<pre><code>l = length($1);
out = "";
for(i = 1; i &lt; l; i += 3)
	out .= chr(x2d(substr($1, i, 2)));
return out;
</code></pre>
<p dir="auto">You should be able to use it as is in DCI transformation.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/27172</link><guid isPermaLink="true">https://forum.netxms.org/post/27172</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 18 Dec 2019 13:43:54 GMT</pubDate></item></channel></rss>