<?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 writing/Reading serial data from com port in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1613812#M734465</link>
    <description>&lt;P&gt;Hello three years ago I wrote this simple vb script to reset a AIS:&lt;/P&gt;&lt;P&gt;Sub MyFunction()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set MSComm1=CreateObject("MSCOMMLib.MSComm")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSComm1.Settings = "38400,n,8,1"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MSComm1.CommPort = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MSComm1.InBufferCount = 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MSComm1.PortOpen = True&lt;BR /&gt;If Err Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "COM" &amp;amp; MSComm1.CommPort &amp;amp; ": not opened, Sorry!"&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;MSComm1.Output="$PSRT,012,,,(--QuaRk--)*4B" &amp;amp; CHR(13)&amp;amp; "$PSRT,RDP*6F" &amp;amp; CHR(13)&lt;BR /&gt;&amp;nbsp;MSComm1.PortOpen = False&lt;BR /&gt;Set MSComm1 = Nothing&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i wanted to use it again and i get error '&amp;nbsp; ActiveX component cannot create object: MSCOMMLib.MSComm'&lt;/P&gt;&lt;P&gt;I cannot understand how to solve this !&lt;/P&gt;&lt;P&gt;if anybody can help... please! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:14:57 GMT</pubDate>
    <dc:creator>sherazade</dc:creator>
    <dc:date>2024-11-16T20:14:57Z</dc:date>
    <item>
      <title>writing/Reading serial data from com port</title>
      <link>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1613812#M734465</link>
      <description>&lt;P&gt;Hello three years ago I wrote this simple vb script to reset a AIS:&lt;/P&gt;&lt;P&gt;Sub MyFunction()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set MSComm1=CreateObject("MSCOMMLib.MSComm")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MSComm1.Settings = "38400,n,8,1"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MSComm1.CommPort = 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MSComm1.InBufferCount = 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; MSComm1.PortOpen = True&lt;BR /&gt;If Err Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox "COM" &amp;amp; MSComm1.CommPort &amp;amp; ": not opened, Sorry!"&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;BR /&gt;MSComm1.Output="$PSRT,012,,,(--QuaRk--)*4B" &amp;amp; CHR(13)&amp;amp; "$PSRT,RDP*6F" &amp;amp; CHR(13)&lt;BR /&gt;&amp;nbsp;MSComm1.PortOpen = False&lt;BR /&gt;Set MSComm1 = Nothing&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i wanted to use it again and i get error '&amp;nbsp; ActiveX component cannot create object: MSCOMMLib.MSComm'&lt;/P&gt;&lt;P&gt;I cannot understand how to solve this !&lt;/P&gt;&lt;P&gt;if anybody can help... please! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1613812#M734465</guid>
      <dc:creator>sherazade</dc:creator>
      <dc:date>2024-11-16T20:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: writing/Reading serial data from com port</title>
      <link>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1613819#M734466</link>
      <description>&lt;P&gt;It seemed that ActiveX isn't available on your machine or by your used tool and/or the libraries for the queried COM are missing or changed and/or that's not enabled within the security settings of your user-profile. I assume there were multiple changes on this in the last years ... If you could comprehend which changes happens it would be useful to search in the most likely direction.&lt;/P&gt;&lt;P&gt;&lt;A href="https://en.wikipedia.org/wiki/ActiveX" target="_self"&gt;https://en.wikipedia.org/wiki/ActiveX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1613819#M734466</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-08-19T12:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: writing/Reading serial data from com port</title>
      <link>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1619580#M734467</link>
      <description>&lt;P&gt;Alex, I suspect Marcus is dead on with his summary of things, and I do not believe the ActiveX component is likely referring to our IE Plugin ActiveX control in this case given the code you provided, that is all OS level calls going on, so my hunch would be it is another ActiveX control you had installed at the time that you do not have installed currently...&amp;nbsp; Hope this helps a bit more.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 13:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1619580#M734467</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-03T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: writing/Reading serial data from com port</title>
      <link>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1619596#M734468</link>
      <description>&lt;P&gt;I think you are right. The following may help to get nearer to the cause:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.microsoft.com/en-us/help/139526/how-to-send-to-the-serial-port-by-using-mscomm32-ocx" target="_self"&gt;https://support.microsoft.com/en-us/help/139526/how-to-send-to-the-serial-port-by-using-mscomm32-ocx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.experts-exchange.com/questions/24227138/MSCOMM.html" target="_self"&gt;https://www.experts-exchange.com/questions/24227138/MSCOMM.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 13:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/writing-Reading-serial-data-from-com-port/m-p/1619596#M734468</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-03T13:23:34Z</dc:date>
    </item>
  </channel>
</rss>

