<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Dinamically loading recipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2d8f927cf/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2d8f927cf/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f2d8f927cf/</id><updated>2023-12-06T04:25:51.334000Z</updated><subtitle>Recent posts to Dinamically loading recipes</subtitle><entry><title>Dinamically loading recipes</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2d8f927cf/?limit=25#548b" rel="alternate"/><published>2023-12-06T04:25:51.334000Z</published><updated>2023-12-06T04:25:51.334000Z</updated><author><name>mmoncada</name><uri>https://forge.codesys.com/u/mmoncada/</uri></author><id>https://forge.codesys.comf47cf2bef118de0758958c5e875ab07e3143544e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm having trouble with the initial loading of recipes. I can create them and load one or the other, but when the program restarts the recipes are not listed.&lt;/p&gt;
&lt;p&gt;I'm calling:&lt;br/&gt;
RecipeManCommands.ReloadRecipes&lt;br/&gt;
and then&lt;br/&gt;
RecipeManCommands.GetRecipeCount&lt;br/&gt;
which returns 0 recipes.&lt;br/&gt;
None of the methods returns error and if i call them again after&lt;br/&gt;
RecipeManCommands.CreateRecipe&lt;br/&gt;
RecipeManCommands.ReadAndSaveRecipe&lt;br/&gt;
getRecipeCount returns the number of recipes created. When i restart the system, once again they are not listed even though the recipe files are there.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;br/&gt;
Martin&lt;/p&gt;
&lt;p&gt;Btw, Codesys 3.5 SP 16 Path 9&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>