Hi, You could create an SQL query to the AIM database. You would need ODBC license though. And this works only for reading values, not writing As long as OM lists are properly closed, I think is more convenient using omgetimp, omsetimp, since you wouldnt depend on historian. Now with FoxAPI would be a different story, but I dont know how to do it. Regards El Jueves, 12 de junio, 2014 5:21 A.M., "Braceras, Fernando" <fernando.braceras@xxxxxxxxxxxxxxxxxxxxxx> escribió: Hello. I´m using an IND block to execute a sequence that reads temperature values from a moving thermocouple inside a reactor. Then the IND executes an external VBScript that reads the values from IA and creates a report in Excel, using omgetimp and omsetimp. 1) Can this VBScript be done using AIM*API instead of omgetimp and omsetimp? 2) How do I use AIM*API inside the VBScript to get/set IA variables? 3) Is it better to use AIM*API instead of omget/setimp? Advantages? Thank you. _____________________________________________________________________________________ Fernando Braceras | Schneider Electric | Invensys | Argentina | Project Engineer Phone: +54 11 6345 2290 | Fax: +54 11 6345 2112 | Mobile: +54 911 5157 7804 Email: ¡¡¡ fernando.braceras@xxxxxxxxxxxxxxxxxxxxxx !!! | Site: www.invensys.com *** Por favor considere el medio ambiente antes de imprimir este correo *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys Limited, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please select the Legal Entities link at invensys.com. Invensys Limited is owned by the Schneider-Electric Group. You may contact Invensys Limited on +44 (0)20 3155 1200 or e-mail reception@xxxxxxxxxxxx. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave