<?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: Updating Labview front panel from python in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/402748#M200074</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is it that you're having problems with ActiveX in Python?&amp;nbsp; If you can get the ActiveX API on Python's side to work (with any ActiveX server), then you should be able to apply that same kind of programming to access the LabVIEW exe - I'm sorry, but&amp;nbsp;I am not familiar with Python so I can't provide you more specific information from that end.&lt;/P&gt;
&lt;P&gt;Definitely repost and hopefully we'll get to the bottom of it!&lt;/P&gt;
&lt;P&gt;JLS&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2006 17:05:37 GMT</pubDate>
    <dc:creator>JLS</dc:creator>
    <dc:date>2006-08-10T17:05:37Z</dc:date>
    <item>
      <title>Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/76273#M46780</link>
      <description>I have a requirement where a piece of python code needs to update graph(xy) and string indicator on labview. The python code is called using LabPython toolkit. But is there a way from python to update the labview controls and indicator using ActiveX? Since my python app will run for several minutes before completing the task, it would be nice to update the progress on the labview application. Has anyone done this before? &lt;BR /&gt;</description>
      <pubDate>Tue, 25 Feb 2003 21:12:59 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/76273#M46780</guid>
      <dc:creator>Anand S R</dc:creator>
      <dc:date>2003-02-25T21:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/76274#M46781</link>
      <description>&amp;gt; labview controls and indicator using ActiveX? Since my python app will&lt;BR /&gt;&amp;gt; run for several minutes before completing the task, it would be nice&lt;BR /&gt;&amp;gt; to update the progress on the labview application. Has anyone done&lt;BR /&gt;&amp;gt; this before?&lt;BR /&gt;&lt;BR /&gt;I think people have done this before, but not me personally.  The &lt;BR /&gt;ActiveX interface allows you to specify a value change on a particular &lt;BR /&gt;set of controls by writing name/value pairs to the SetControlValues or &lt;BR /&gt;something similar.  If you have a way to invoke the ActiveX method, then &lt;BR /&gt;that should get you there.&lt;BR /&gt;&lt;BR /&gt;Greg McKaskle &lt;BR /&gt;</description>
      <pubDate>Wed, 26 Feb 2003 00:06:18 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/76274#M46781</guid>
      <dc:creator>Greg_McKaskle2</dc:creator>
      <dc:date>2003-02-26T00:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/76275#M46782</link>
      <description>I found out how to do this. He is how you can access labview from python..&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; import win32com.client&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; labview = win32com.client.Dispatch("Labview.Application")&lt;BR /&gt;&lt;BR /&gt;Once  you have the object, then get a reference to the VI and then you can read or write to a control&lt;BR /&gt;&lt;BR /&gt;VI = labview.getvireference(r'VI path')&lt;BR /&gt;VI.setcontrolvalue('control','value')...&lt;BR /&gt;&lt;BR /&gt;It works. Its pretty simple. The various activex properties and methods are available in labview\help\axprop.chm (or axprop.hlp)&lt;BR /&gt;&lt;BR /&gt;Anand. &lt;BR /&gt;</description>
      <pubDate>Wed, 26 Feb 2003 17:54:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/76275#M46782</guid>
      <dc:creator>Anand S R</dc:creator>
      <dc:date>2003-02-26T17:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/400997#M199401</link>
      <description>Is this also possible with a labview exe program?&lt;BR /&gt;&lt;BR /&gt;I tried this:&lt;BR /&gt;&lt;SPAN class="noindex"&gt;import win32com.client&lt;BR /&gt;labview = win32com.client.Dispatch("Labview.Application")&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="noindex"&gt;VI = labview.getvireference(r'&lt;FONT color="#ff0000"&gt;python.vi&lt;/FONT&gt;')&lt;BR /&gt;VI.setcontrolvalue('Numerisch','5')&lt;BR /&gt;&lt;BR /&gt;and it works fine. But when i replaced the python.vi trough a compiled python.exe i get this errormessage:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="noindex"&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in ?&lt;BR /&gt;&amp;nbsp; File "&amp;lt;COMObject Labview.Application&amp;gt;", line 2, in getvireference&lt;BR /&gt;com_error: (-2147352567, 'Ausnahmefehler aufgetreten.', (5507, 'LabVIEW', 'LabVIEW :LabVIEW:&amp;nbsp; Datei nicht gefunden. Die Datei wurde eventuell verschoben oder gel\xf6scht, oder der Dateipfad wurde bez\xfcglich Ihrer Plattform nicht korrekt formatiert. Beispiel: verwenden Sie \\ als Pfadseparator auf Windowsplattformen, : auf Macintosh u', None, 0, 0), None)&lt;BR /&gt;&lt;BR /&gt;Is it possible to updating a labview exe front panal from python?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;marcel&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2006 11:06:54 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/400997#M199401</guid>
      <dc:creator>iveco</dc:creator>
      <dc:date>2006-08-07T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/401743#M199689</link>
      <description>&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If you build your exe with the option to include the activeX server, then you'll be able to change the&amp;nbsp;value of and access front panel controls and indicators using ActiveX.&amp;nbsp; The interface is what you're used to from VI Server for accessing VIs in the LabVIEW development environment.&lt;/P&gt;
&lt;P&gt;The following document describes this in more detail and provides an example using Visual Basic:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="title1"&gt;Title: Calling LabVIEW Applications from Visual Basic Using ActiveX&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;URL: &lt;A href="https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g0iHSAQ&amp;amp;l=en-US" target="_blank" rel="noopener"&gt;https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g0iHSAQ&amp;amp;l=en-US&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps!&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;JLS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2026 23:31:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/401743#M199689</guid>
      <dc:creator>JLS</dc:creator>
      <dc:date>2026-08-12T23:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/401990#M199790</link>
      <description>Hello JLS&lt;BR /&gt;&lt;BR /&gt;Thanks for your answer. &lt;BR /&gt;&lt;BR /&gt;Because i didnt get an answer i oppened a second tread:&lt;BR /&gt;&lt;BR /&gt;http://forums.ni.com/ni/board/message?board.id=170&amp;amp;message.id=199564&lt;BR /&gt;&lt;BR /&gt;Activex server is on. But I still doesnt work with the exe.&lt;BR /&gt;&lt;BR /&gt;Because I dont have VB I couldnt find any solution&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;marcel&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 09 Aug 2006 12:03:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/401990#M199790</guid>
      <dc:creator>iveco</dc:creator>
      <dc:date>2006-08-09T12:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/402748#M200074</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Is it that you're having problems with ActiveX in Python?&amp;nbsp; If you can get the ActiveX API on Python's side to work (with any ActiveX server), then you should be able to apply that same kind of programming to access the LabVIEW exe - I'm sorry, but&amp;nbsp;I am not familiar with Python so I can't provide you more specific information from that end.&lt;/P&gt;
&lt;P&gt;Definitely repost and hopefully we'll get to the bottom of it!&lt;/P&gt;
&lt;P&gt;JLS&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2006 17:05:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/402748#M200074</guid>
      <dc:creator>JLS</dc:creator>
      <dc:date>2006-08-10T17:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/405884#M201456</link>
      <description>&amp;nbsp;Hi JLS &lt;BR /&gt;&lt;BR /&gt;Thank you for your help. Now it works. The Solution:&lt;BR /&gt;&lt;BR /&gt;import win32com.client&lt;BR /&gt;labview = win32com.client.Dispatch("&lt;FONT color="#ff0000"&gt;Python&lt;/FONT&gt;.Application")&lt;BR /&gt;VI = labview.getvireference(r'c:\temp\python.exe\python.vi')&lt;BR /&gt;VI.setcontrolvalue('Numerisch','5')&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;&lt;BR /&gt;Marcel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Aug 2006 13:43:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/405884#M201456</guid>
      <dc:creator>iveco</dc:creator>
      <dc:date>2006-08-18T13:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/2381320#M739779</link>
      <description>&lt;P&gt;How to read it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried with VI.readcontrolvalue("Numeric")&lt;/P&gt;
&lt;P&gt;but its not working..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 07:26:36 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/2381320#M739779</guid>
      <dc:creator>macenc87@yahoo.co.in</dc:creator>
      <dc:date>2013-04-09T07:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/2381426#M739795</link>
      <description>&lt;P&gt;sorry, I got it&lt;/P&gt;
&lt;P&gt;Its VI.getcontrolvalue('Numeric')&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 08:35:21 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/2381426#M739795</guid>
      <dc:creator>macenc87@yahoo.co.in</dc:creator>
      <dc:date>2013-04-09T08:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Updating Labview front panel from python</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/2924034#M845920</link>
      <description>&lt;P&gt;Hii.. Am trying to execute the same code.. But am getting the error as in attached image.. Do I have to install any other extra package for this.. I have win32 package&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/09093c964c9ff63b25e7ccd30ab62df339bc47aa/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f31343838333669354143453044393335383044463034442f696d6167652d73697a652f6f726967696e616c3f763d6d70626c2d312670783d2d31" border="0" alt="Capture.JPG" title="Capture.JPG" align="center" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 09:45:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Updating-Labview-front-panel-from-python/m-p/2924034#M845920</guid>
      <dc:creator>30904407</dc:creator>
      <dc:date>2014-07-17T09:45:25Z</dc:date>
    </item>
  </channel>
</rss>

