<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Issues with create_boot_project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/</id><updated>2020-02-27T15:00:47.187000Z</updated><subtitle>Recent posts to Issues with create_boot_project</subtitle><entry><title>Issues with create_boot_project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/?limit=25#e581" rel="alternate"/><published>2020-02-27T15:00:47.187000Z</published><updated>2020-02-27T15:00:47.187000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com8d4f5ef70d4812805ca557a4d802d4556e1ebe6a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; KP_Henrob&lt;/p&gt;
&lt;p&gt;To the first question, the Image pool images. &lt;/p&gt;
&lt;p&gt;To the second question, that is correct.&lt;/p&gt;
&lt;p&gt;Update:&lt;br/&gt;
I have found a way to get it to work, however it doesn't work well with the script, as it needs to work on any machine. &lt;br/&gt;
Under project settings&amp;gt;visualization, if I change the path for image files to an absolute one, it will work. I tried using a relative path, but that does't export the images as they don't show up on the screen of my plc. Is there a way to use a relative path for this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Issues with create_boot_project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/?limit=25#de1f" rel="alternate"/><published>2020-02-27T15:00:46.569000Z</published><updated>2020-02-27T15:00:46.569000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.com84a2ebf76883f21655ed65eefc70d550c1a656ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi KP_Henrob.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;KP_Henrob hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I'm having an issue where when using create_boot_project in a python script my link to file images will not be exported to the PLCLogic folder.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;What do you mean with "file images"? External File or Image Pool?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;KP_Henrob hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Regardless of whether I put them in there or not before transferring them to my plc they will not show up on the screen where they're supposed to. It works fine when I click the Create boot application button in codesys, however.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You mean the images don't show up in your visualization if you create the boot application with Scripting and copy the result to the PLC. Am I right?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Issues with create_boot_project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/?limit=25#315b" rel="alternate"/><published>2020-02-27T15:00:45.919000Z</published><updated>2020-02-27T15:00:45.919000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com0cdd22a458ec3a1033a01e0a6de7bb3be84e1e1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; KP_Henrob&lt;/p&gt;
&lt;p&gt;M.Keller,&lt;br/&gt;
My bad, the version I'm running is 3.5.12.10.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Issues with create_boot_project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/?limit=25#48a4" rel="alternate"/><published>2020-02-27T15:00:44.228000Z</published><updated>2020-02-27T15:00:44.228000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.com26f5d1f9c80972b724bf387290b9dfa1a2b8db0e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi KP_Henrob.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;KP_Henrob hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Version: 3.4.12.0&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The method create_boot_application() with three parameters was introduced with V3.5 SP3 Patch 10 so your version number does not fit your code. Can you check your version number?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Issues with create_boot_project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/37110f65bd/?limit=25#b094" rel="alternate"/><published>2020-02-27T15:00:43.586000Z</published><updated>2020-02-27T15:00:43.586000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.coma19a244f428b045c6f7363c26bf00283cd4b10a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; KP_Henrob&lt;/p&gt;
&lt;p&gt;Hello all,&lt;br/&gt;
I'm having an issue where when using create_boot_project in a python script my link to file images will not be exported to the PLCLogic folder. Regardless of whether I put them in there or not before transferring them to my plc they will not show up on the screen where they're supposed to. It works fine when I click the Create boot application button in codesys, however. Here is the code I'm running. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="nn"&gt;__future__&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;print_function&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;projects&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;primary&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;projects&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;primary&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;close&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;proj&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;projects&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"..\..\Display\HMI.project"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;proj&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;active_application&lt;/span&gt;
&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;clean&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;create_boot_application&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'Application.app'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;system&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;delay&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;proj&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;close&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I tried making it an online application first, however that brings up the file select dialog that I don't want to appear. It also results in the same issue with the images regardless. The second Boolean option in create_boot_project is supposed to write all the visu files, but it is only doing a few of them. &lt;/p&gt;
&lt;p&gt;Any ideas are greatly appreciated. Thank you&lt;/p&gt;
&lt;p&gt;Version: 3.4.12.0&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>