Recipe load from Controller

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
cklim
Posts: 1
Joined: Tue Jul 08, 2014 5:55 pm

Recipe load from Controller

Post by cklim »

Hi Mark

I worked on the code that the controller to trigger automatic download of recipe instead of trigger the recipe load through button. However, it does not seem to call out the recipe. Can you help to see what wrong with the code below?

public partial class Screen1
{
List<string> listRecipeNames = new List<string>();

void Button_TestRecipe_Click(System.Object sender, System.EventArgs e)
{
listRecipeNames.Clear();
Globals.RecipeUtility.GetRecipesNamesInTable("Recipe1", ref listRecipeNames);

if (listRecipeNames.Contains(Globals.Tags.RecipeName.Value.ToString()))
{
Globals.Tags.RecipeExists.SetTag();
Globals.Recipe1.LoadRecipe(Globals.Tags.RecipeName.Value);
}
else
{
Globals.Tags.RecipeExists.ResetTag();
}
}

User avatar
Russ C.
Posts: 201
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: Recipe load from Controller

Post by Russ C. »

Hello,

We understand that this is a very old post. If there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690.

Thank you.
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply