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.
I'm calling:
RecipeManCommands.ReloadRecipes
and then
RecipeManCommands.GetRecipeCount
which returns 0 recipes.
None of the methods returns error and if i call them again after
RecipeManCommands.CreateRecipe
RecipeManCommands.ReadAndSaveRecipe
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.
Any ideas?
Martin
Btw, Codesys 3.5 SP 16 Path 9
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
I'm calling:
RecipeManCommands.ReloadRecipes
and then
RecipeManCommands.GetRecipeCount
which returns 0 recipes.
None of the methods returns error and if i call them again after
RecipeManCommands.CreateRecipe
RecipeManCommands.ReadAndSaveRecipe
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.
Any ideas?
Martin
Btw, Codesys 3.5 SP 16 Path 9