<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Start script from Button Click</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/876aa1d044/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/876aa1d044/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/876aa1d044/</id><updated>2020-02-27T14:49:55.961000Z</updated><subtitle>Recent posts to Start script from Button Click</subtitle><entry><title>Start script from Button Click</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/876aa1d044/?limit=25#7528" rel="alternate"/><published>2020-02-27T14:49:55.961000Z</published><updated>2020-02-27T14:49:55.961000Z</updated><author><name>Trapp</name><uri>https://forge.codesys.com/u/trapp/</uri></author><id>https://forge.codesys.com2028ac0ccc433b49c54a4f778649801a55636499</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to store some informations that I have collected in a HMI Visu to a File on the PC that is running&lt;br/&gt;
the HMI ( not the PLC ).&lt;/p&gt;
&lt;p&gt;I never did Python before but have read that it is possible to access the variables containing the data in&lt;br/&gt;
the HMI Visu. Since it should be no problem to write from Python to disc I only need a way to&lt;br/&gt;
start a Python script from a button, but I have not found a way to launch the script from the visu.&lt;/p&gt;
&lt;p&gt;Any Idea how to do this.&lt;br/&gt;
Other Ideas to write the data to disc on the system that is doing the visu are also highly recommended.&lt;/p&gt;
&lt;p&gt;Thank&lt;/p&gt;
&lt;p&gt;Volker&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>