This project has moved and is read-only. For the latest updates, please go here.

In-process historian adapter - Access to PPA measurements

Apr 17, 2012 at 4:39 PM
Edited May 3, 2012 at 4:56 PM

Hi all.

I am relatively new to this community and to the use of openPDC. I would really appreciate if someone can help me with this issue:

I've been trying to access the time-series data stored in the local archive following the guide.

When I try http://localhost:6151/historian or http://localhost:6152/historian I get this error:

HTTP Error 503. The service is unavailable.

I can access the data contained in the STAT historian using the respective web services, e.g. http://localhost:6052/historian/timeseriesdata/read/historic/1-1000/*-1m/*/xml. But what I need is to see the data of the PPA that I defined as the local historian. 

I checked in openPDC.exe.config the configuration settings for ppa metadata and time-series services and compared it with the respective settings for the stat historian and everything seems correct to me.

Thanks in advance for any tip or correction.

Regards,

JD

Apr 19, 2012 at 9:39 PM
Edited May 4, 2012 at 3:04 PM

Using openPDC v 1.4 SP2

Thanks!

JD

May 7, 2012 at 5:49 PM

You might try chaning the port number for the service in the openPDC.exe.config file - you can use the "" tool to change this value:

    <statTimeSeriesDataService>
      <add name="Endpoints" value="http.rest://localhost:6052/historian"
        description="Semicolon delimited list of URIs where the web service can be accessed - this defaults to http.rest://localhost:6052/historian for the statistics time-series data service."
        encrypted="false" />
      <add name="Contract" value="TVA.Historian.DataServices.ITimeSeriesDataService, TVA.Historian"
        description="Assembly qualified name of the contract interface implemented by the web service."
        encrypted="false" />
      <add name="Singleton" value="True" description="True if the web service is singleton; otherwise False."
        encrypted="false" />
      <add name="SecurityPolicy" value="" description="Assembly qualified name of the authorization policy to be used for securing the web service."
        encrypted="false" />
      <add name="PublishMetadata" value="True" description="True if the web service metadata is to be published at all the endpoints; otherwise False."
        encrypted="false" />
      <add name="CloseTimeout" value="00:02:00" description="Maximum time allowed for a connection to close before raising a timeout exception."
        encrypted="false" />
    </statTimeSeriesDataService>

Thanks!
Ritchie

May 7, 2012 at 9:13 PM

Thanks Richie!

It worked perfectly after I changed the default ports for both the <ppaMetadataService> and <ppaTimeSeriesDataService>.

Then, when I read your last post in the other discussion about the web services I also tried it and now I can see the data using the default url´s  http://localhost:6151/historian or http://localhost:6152/historian

Thanks a lot.

JD