Page 1 of 1
Saving Recipes to USB
Posted: Mon Apr 23, 2012 7:28 am
by jmsmoreira
Hello,
I'm using a T10A panel.
Is there any way to save/load recipe data to a USB drive?
Re: Saving Recipes to USB
Posted: Mon Apr 23, 2012 11:53 am
by mark.monroe
Hi jmsmoreira,
The recipes are stored in the HMI database. Another
forum post talks about accessing the database and how you can view it in the database viewer.
To save recipes to a USB stick you would have to write a script that queries the database and saves the values to a text file on the USB stick. To load recipes in from a USB stick you would have to write a program that reads the files containing the recipe and then inserts it into the database.
Re: Saving Recipes to USB
Posted: Tue Apr 24, 2012 2:36 am
by jmsmoreira
It is a pity that we cannot do it using the DataBase Export action, it would save a lot of work.
Anyway I think I understood the example, except how to direct the file I will create to the USB stick.
I'm using a T10A panel, what is the path to the USB stick?
Regards,
Jorge Moreira
Re: Saving Recipes to USB
Posted: Tue Apr 24, 2012 9:05 am
by mark.monroe
The path should be: "\Hard Disk"