<?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 Running Labview through Python error: -2146959355 Server execution failed in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Running-Labview-through-Python-error-2146959355-Server-execution/m-p/3982656#M1136810</link>
    <description>&lt;P&gt;I'm running LV vi's through python. In one pc I'm getting an error: -2146959355 Server execution failed.&lt;BR /&gt;The error occurs at the 2nd line of code:&lt;/P&gt;
&lt;PRE&gt;import win32com.client # Python ActiveX Client&lt;BR /&gt;LabVIEW = win32com.client.Dispatch("Labview.Application")&lt;/PRE&gt;
&lt;P&gt;When running the Python script, LabVIEW opens but not the vi itself. &lt;BR /&gt;I read a few posts here dealing with this error but none of them related to Python and did not help me.&lt;/P&gt;
&lt;P&gt;I have set the vi Preferred Execution System to user interface and LabVIEW runs as admin. &lt;BR /&gt;The code runs perfectly on other machines. &lt;BR /&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2019 14:37:19 GMT</pubDate>
    <dc:creator>sHrG78</dc:creator>
    <dc:date>2019-10-29T14:37:19Z</dc:date>
    <item>
      <title>Running Labview through Python error: -2146959355 Server execution failed</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Running-Labview-through-Python-error-2146959355-Server-execution/m-p/3982656#M1136810</link>
      <description>&lt;P&gt;I'm running LV vi's through python. In one pc I'm getting an error: -2146959355 Server execution failed.&lt;BR /&gt;The error occurs at the 2nd line of code:&lt;/P&gt;
&lt;PRE&gt;import win32com.client # Python ActiveX Client&lt;BR /&gt;LabVIEW = win32com.client.Dispatch("Labview.Application")&lt;/PRE&gt;
&lt;P&gt;When running the Python script, LabVIEW opens but not the vi itself. &lt;BR /&gt;I read a few posts here dealing with this error but none of them related to Python and did not help me.&lt;/P&gt;
&lt;P&gt;I have set the vi Preferred Execution System to user interface and LabVIEW runs as admin. &lt;BR /&gt;The code runs perfectly on other machines. &lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 14:37:19 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Running-Labview-through-Python-error-2146959355-Server-execution/m-p/3982656#M1136810</guid>
      <dc:creator>sHrG78</dc:creator>
      <dc:date>2019-10-29T14:37:19Z</dc:date>
    </item>
  </channel>
</rss>

