<?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 Re: ActiveX in sub VI in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437048#M213944</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;Why don't you post the VI so that we can take a look. We need more information in order to help you.</description>
    <pubDate>Mon, 06 Nov 2006 15:16:20 GMT</pubDate>
    <dc:creator>Joe_H</dc:creator>
    <dc:date>2006-11-06T15:16:20Z</dc:date>
    <item>
      <title>ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/436996#M213924</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;I am trying to use a program with ActiveX how sub VI, The program with ActiveX works well, but when I try to do one sub VI with this program the call to this sub VI don't work, What can be pass for this sub VI don't work???&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Nov 2006 13:02:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/436996#M213924</guid>
      <dc:creator>Talo</dc:creator>
      <dc:date>2006-11-06T13:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437048#M213944</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Why don't you post the VI so that we can take a look. We need more information in order to help you.</description>
      <pubDate>Mon, 06 Nov 2006 15:16:20 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437048#M213944</guid>
      <dc:creator>Joe_H</dc:creator>
      <dc:date>2006-11-06T15:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437558#M214122</link>
      <description>&lt;DIV&gt;Ok&amp;nbsp; Jhoskins I am sorry for don't do it before,&lt;/DIV&gt;
&lt;DIV&gt;Here you have my sub VI which I am try to use.&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Nov 2006 12:01:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437558#M214122</guid>
      <dc:creator>Talo</dc:creator>
      <dc:date>2006-11-07T12:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437634#M214159</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Dear Talo&lt;BR /&gt;&lt;BR /&gt;We can only (hopefully) run you VI if you also provide us with the 'USBtempAX' ActiveX component.&lt;BR /&gt;Could you please post this, too?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Philipp Roessler</description>
      <pubDate>Tue, 07 Nov 2006 14:41:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437634#M214159</guid>
      <dc:creator>Philipp R.</dc:creator>
      <dc:date>2006-11-07T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437653#M214166</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I am sorry again,&lt;/DIV&gt;
&lt;DIV&gt;Here you are and thank you &lt;/DIV&gt;
&lt;DIV&gt;Gonzalo&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Nov 2006 15:06:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437653#M214166</guid>
      <dc:creator>Talo</dc:creator>
      <dc:date>2006-11-07T15:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437837#M214242</link>
      <description>&lt;DIV&gt;A quick comment on the code - if you are getting the ActiveX control from the front panel, you do not need to call Automation Open - the refnum returned by the container itself onto the block diagram is the instance created by LabVIEW on your behalf. Similarly, you don't need to close it either - the VI controls the life of the control.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If there is no reason to display it on the front panel, convert it to a ActiveX refnum constant and leave the Open/Close alone.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The other thing to do is go into the VI Properties and select "Execution". Change the Preferred Execution System from "same as caller" to "user interface". My guess is that when you run it as the top VI, it's defaulting to the UI execution system (typical) and everything is working fine. When you call it as a subVI, it's scheduled by the execution system to run on an available thread, which probably isn't the UI one. I'm guessing that your control requires that the caller be the UI thread.&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Nov 2006 18:26:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/437837#M214242</guid>
      <dc:creator>Lycangeek</dc:creator>
      <dc:date>2006-11-07T18:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: ActiveX in sub VI</title>
      <link>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/439429#M214790</link>
      <description>Brian&lt;BR /&gt;&lt;BR /&gt;Have you implemented the changes you proposed? Could you post the VI? I'm still getting 'Error 97'.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;&lt;BR /&gt;Philipp Roessler</description>
      <pubDate>Fri, 10 Nov 2006 10:28:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/ActiveX-in-sub-VI/m-p/439429#M214790</guid>
      <dc:creator>Philipp R.</dc:creator>
      <dc:date>2006-11-10T10:28:49Z</dc:date>
    </item>
  </channel>
</rss>

