<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to RecipeManCommands.SetRecipeValues not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/de5430b61f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/de5430b61f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/de5430b61f/</id><updated>2020-02-27T13:57:50.747000Z</updated><subtitle>Recent posts to RecipeManCommands.SetRecipeValues not working</subtitle><entry><title>RecipeManCommands.SetRecipeValues not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/de5430b61f/?limit=25#453c" rel="alternate"/><published>2020-02-27T13:57:50.747000Z</published><updated>2020-02-27T13:57:50.747000Z</updated><author><name>alejho</name><uri>https://forge.codesys.com/u/alejho/</uri></author><id>https://forge.codesys.com2af5841d755f7c8fc6e30129f451b5f35e5399b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Thank you for your answer.&lt;br/&gt;
yes &lt;strong&gt;GetRecipeValues&lt;/strong&gt; is working correctly.&lt;br/&gt;
I don't know where did you get that documentation...the one I can see in the library make sense to me (see pic).&lt;/p&gt;
&lt;p&gt;I think it's a bug because &lt;strong&gt;SetRecipeValues&lt;/strong&gt; return success even if I try to write a string in a LREAL field (but nothing actually change in the recipe).&lt;/p&gt;
&lt;p&gt;Of course I had a look at the store example but unfortunately it's impossible to build it...it returns hundreds of errors even trying to download the missing library and updating the target device...&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2020" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5222"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.SetRecipeValues not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/de5430b61f/?limit=25#dcb4" rel="alternate"/><published>2020-02-27T13:57:50.493000Z</published><updated>2020-02-27T13:57:50.493000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com1f99ebbb28414ae236f77551f23a64dfa20ec3f2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Online help feel erroneous for this function.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;help hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
pStrings    POINTER TO ARRAY [] OF STRINGS  Pointer to STRING data types where the names of recipe variables are saved&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Is GetRecipeValues working ?&lt;/p&gt;
&lt;p&gt;BTW, did you had a look at &lt;a class="" href="https://store.codesys.com/recipe-management-example.html" rel="nofollow"&gt;https://store.codesys.com/recipe-management-example.html&lt;/a&gt; ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecipeManCommands.SetRecipeValues not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/de5430b61f/?limit=25#d22f" rel="alternate"/><published>2020-02-27T13:57:50.234000Z</published><updated>2020-02-27T13:57:50.234000Z</updated><author><name>alejho</name><uri>https://forge.codesys.com/u/alejho/</uri></author><id>https://forge.codesys.com6733da121ffc49788e3f488c3c3d8f105ed49b9b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi all,&lt;br/&gt;
I'm having problems with the method &lt;strong&gt;SetRecipeValues &lt;/strong&gt; of the Function block &lt;strong&gt;RecipeManCommands&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I really don't get why it return 0 (success) even if the content of the arry passed as argument isn't actually written in the recipe (see attachment)&lt;/p&gt;
&lt;p&gt;Does anyone have a working example of this method?&lt;br/&gt;
(The example available in the store give hundreds of compilation error I can't fix)&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2020_02_13_21_59_44_CODESYS_Recipe_management.project_CODESYS.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=5221"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>