Does anyone know if this TrnGetTable would also retrieve data from the historian or just from the localhost?
Does anyone know if this TrnGetTable would also retrieve data from the historian or just from the localhost?
Hi Mark ,
The TrnGetTable only retrieves data from the connected Trend Servers. You can specify the Cluster the Trend Server belongs (optional). See the online help for more details:
gcsresource.aveva.com/.../TrnGetTable.html
If you are looking to get data from a Historian, there are a few options depending on your situation:
- Data Exchange (ActiveX control) could be one approach.
- Process Analyst can get data from Citect Historian (unfortunately no support for Wonderware Historian at this time)
- SQL (https://gcsresource.aveva.com/Citect/WebHelp/citect2018R2/Content/Cicode%20Reference/Content/SQL_Functions.html) assuming your Historian supports this, there are some examples of this cicode usage in Example project.
Kind regards
Olivier