Recipe creation.

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Recipe creation.

Post by wlederer »

I created Recipe1 in my project, configured tags and added data in runtime.
In a recipe screen some buttons were added "Load", "Save", "Export", Import", "Start edit", each one with corresponded action.
After that the project was downloaded to T7A.
When the button "Load" was clicked, a window "Load Recipe" appeared on the screen, but without any information. Where is my Recipe1?
Is it possible to export a recipe from a project (laptop) to an USB as *.scv file?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Recipe creation.

Post by mark.monroe »

Under the Actions->Recipe there is an "Export Recipe" and an "Import Recipe". Those allow you to export and import recipes to a csv file.

You can create recipes at design time (in iX Dev) or at runtime, on the HMI itself. When you download a new project to the unit you may over right the runtime created recipes with those done in design time. To prevent that you should export your runtime created recipes to a USB stick, then download your project to the unit. Next Import the recipes back into the unit. That will only work if you have not changed the format of the recipes in iX Developer, i.e. added new tags to the recipe.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Recipe creation.

Post by wlederer »

Thank You Mark.
Sorry, it is still not clear, how to create a recipe as a *.csv file on external USB in design mode?
When the Recipe1 is chosen, the option "Actions" dissappears. If a button or tag is chosen, the option appears again, but what is the use of it?
How can I export the recipe only (not the whole project) to an USB memory?

Regards, Waldemar

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Recipe creation.

Post by mark.monroe »

In design time there is no easy way to export the recipes to a usb stick if you are targeting a WinCE HMI. Only during runtime can you export the recipes using actions. The recipes are stored in a database that is located in the root directory of your project:

"iX Developer 2 Projects\Project23\Database.sdf"

When you add recipes in iX during design time, recipes are added into this database.

You can use the Database viewer to run SQL queries on the database and add values to the database, which in turn will add them to your project. You should do that when iX Dev is closed.

"C:\Program Files (x86)\Beijer Electronics AB\iX Developer 2.0.356\Bin\DatabaseViewer.exe"

If you want to export just the recipes you added in design time through the Developer, the easiest way is to download the project to a HMI, then use the Recipe action to export the recipes to a USB stick.
Snap 2013-10-15 at 09.10.29.jpg
Snap 2013-10-15 at 09.10.29.jpg (83.26 KiB) Viewed 15321 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Recipe creation.

Post by wlederer »

Thank You very much Mark for the helpful advice.
How can be indicated on HMI screen, which recipe is really loaded?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Recipe creation.

Post by mark.monroe »

Here is a forum post on that topic. You need to use the recipe system tag.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: Recipe creation.

Post by wlederer »

Thank You Mark. Is it possible to add a filter to “Load recipe” option? To ensure, operators can see the recipe data related the them only.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Recipe creation.

Post by mark.monroe »

No, there is no way to filter recipes. You can create multiple recipe groups, i.e. Recipe1, Recipe2, but there is no way to filter recipes.
Snap 2013-10-17 at 07.54.32.jpg
Snap 2013-10-17 at 07.54.32.jpg (51.71 KiB) Viewed 15295 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply