How to read by script a specific value of a recipe ?

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
Nicolas2121
Posts: 19
Joined: Fri Apr 12, 2013 11:00 am

How to read by script a specific value of a recipe ?

Post by Nicolas2121 »

Hi

I would like to know how to read by the script value of a specific column of a recipe from an index?

Example, I have a recipe "Test", with 5 fields "Field 0" to "Field 4", I want to read value through script of field (without knowing the name of the field). Is it possible ?

Thank you

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

Re: How to read by script a specific value of a recipe ?

Post by mark.monroe »

You can use SQL to query the Recipe database and get column names as well as the field values. You can take a look at this forum post on how to query a database in iX Dev. Rather than querying the datalogger table, you would query the recipe table.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Nicolas2121
Posts: 19
Joined: Fri Apr 12, 2013 11:00 am

Re: How to read by script a specific value of a recipe ?

Post by Nicolas2121 »

Thank you for your reply

Post Reply