Page 1 of 1
Recipe creation.
Posted: Mon Oct 14, 2013 6:16 am
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?
Re: Recipe creation.
Posted: Mon Oct 14, 2013 8:16 am
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.
Re: Recipe creation.
Posted: Tue Oct 15, 2013 8:22 am
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
Re: Recipe creation.
Posted: Tue Oct 15, 2013 9:12 am
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 (83.26 KiB) Viewed 15327 times
Re: Recipe creation.
Posted: Wed Oct 16, 2013 4:07 am
by wlederer
Thank You very much Mark for the helpful advice.
How can be indicated on HMI screen, which recipe is really loaded?
Re: Recipe creation.
Posted: Wed Oct 16, 2013 8:59 am
by mark.monroe
Here is a
forum post on that topic. You need to use the recipe system tag.
Re: Recipe creation.
Posted: Thu Oct 17, 2013 6:57 am
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.
Re: Recipe creation.
Posted: Thu Oct 17, 2013 7:56 am
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 (51.71 KiB) Viewed 15301 times