I will be given access to an AspenTech InfoPlus 21 endpoint, but the systems seems to be quite legacy and not very well (publicly) documented. I will need to query some data (i.e. explore what is in the database). I had a few questions regarding connecting and querying InfoPlus 21 historians.
How can I connect to the InfoPlus 21 server (in the best case programmatically)? I am mostly using mac, can use linux and windows through a VM. Really, and ideas for working solutions are welcome.
How can I query data from InfoPlus 21 (in the bet case programmatically) and what does the data look like? Any pointers etc. would be very helpful.
I have some experience using NoSQL (mongodb) and SQL (postgres and mysql) databases, but couldn't really find anything useful for aspentech infoplus 21 on the web. Any help would be greatly appreciated.
I may be responding late but i thought to share query code with Python. This Python code fetches data from Aspen IP21 with time interval of 5 minutes & considers current time minus 2 days. Obviously you may edit this code as per your requirement. But i didnt found any code which considers real time as refernece to modify your query. Hope it will help Python enthusiast-: """
Welcome in industrial-IT !
For these technology, the best option is the 'AspenTech SqlPlus ODBC driver'.
That been said, you are talking about an endpoint on a fairly old IP21 server, so I suppose it is something like http://.../SQLPlusWebService/SQLplusWebService.asmx.
In that case, it is the SOAP wrapper around SqlPlus: you will not have to install the Windows ODBC driver... But you will still have to learn SqlPlus syntax.
In order to have more information about it, you can ask AspenTech, also you can install the SqlPlus client 'Aspen SqlPlus', and check the help file in "C:\Program Files (x86)\AspenTech\InfoPlus.21\db21\code\ipsqlplus.chm"
EDIT: here is an example in c#, to list all records:
You can also use the Aspentech Process Data REST Web API. There is an Aspentech native Web page with lots of samples where you can learn how to use it. The URL will be like this:
Aspentech ProcessData REST API Samples home page
If you know better the Aspentech IP21 database structure, you can use the "SQL" option in the above image. If no, I suggest you to use the the "History" option. History will allow you to query data just passing the tag name, map (useful to custom tags where you can have multiple maps) and time range. It is also available some filtering options and the request type you want to do (POST, GET, etc.). Here is an example of usage for this "History" option:
Aspen Process Data Rest API History sample
InfoPlus21 is process historian containing list of templates of different tag structure e.g. IP_AnalogDef, IP_DescreteDef, IP_TextDef etc. Based on process tags from DCS/OPC/Any other historian, the IP21 records are created and each record acts as a table in historian.
ANS1: Aspentech software is only windows based compatibility however IP21 aspenONE Process Explorer is web based and therefore you can access it over any operating system using host url.
ANS2:
you can try SELECT statement to get data from IP21 Historian using it's end-user component SQLPlus or on excel add-ins. e.g.
RESULTS:
I hope this help you understand better. Otherwise you need to first learn the structure of your IP21 historian tags to build the query e.g. If it has customized structure, then you have to build your own.