Skip to main content

If you notice that a certain tag in TrendMiner is displaying data that might be incorrect, you can use the PlantIntegrations API to check which tag data is being retrieved from the historian.

If the data in the historian corresponds with the data in TrendMiner, the faulty data is already present in the historian and should be rectified there.

To access the PlantIntegrations API you can do the following:

  • Open the IIS server on which PlantIntegrations is installed.
  • Open the IIS manager and click on the PlantIntegrations website.
  • On the right side of the screen you can now choose the ‘browse’ option which will lead you to the API.

 

This will lead you to the following API page:

 

To perform an index call here you need the following information:

  • Tag name
  • Historian name
  • Tag type
  • Interpolation type
  • Start- and enddate of the period you want to request
  • Number of intervals

You can find an example of an index call below in which the parts in green need to be configured depending on the call you want to execute:

Method: GET (fill in the first box on the API screen)

Call (fill in the second box on the API screen):

/api/v2/tags/indexvalues?historianName=<datasourceName>&tagName=<tagname>&tagType=<tagtype>&interpolationType=DEFAULT&startDate=2021-11-01T00:00:00Z&endDate=2021-12-01T00:00:00.000Z&numberOfIntervals=43200

Some more information how to configure an index call can be found in our documentation:

https://documentation.trendminer.com/en/how-to-run-index-calls-.html

Be the first to reply!

Reply