# I am unable to add a PMU device in openHistorian

**URL:** <http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652>\
**Category:** openHistorian\
**Created:** [March 4, 2020, 5:29am UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652 "2020-03-04T05:29:57Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/adnan_iqbal/32/528_2.png) [@Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/u/Adnan_Iqbal)\
**Post date:** [March 4, 2020, 5:29am UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/1 "2020-03-04T05:29:57Z")

</div>

Hello,

I installed openHistorian, and I want to transfer the streaming data into a CSV file. But I am unable to add the PMU device in the openhistotian manager. I checked the connection with PMU connection tester, and it works fine. But when I try to add the same PMU connection to openhistorian, I am unable to finish the process. I get the following error when i click on finish. My final goal is to save the streaming files into a CSV file.

 ![openHistorian](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/a46112f6e6cf5a3defd42f4dc8bd02f82b0b360b.png)

P.S. - when I add the same device inopenPDC, it will be added.

I would like to know which software should I use to save data streaming from PMUs?

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [March 4, 2020, 3:21pm UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/2 "2020-03-04T15:21:54Z")

</div>

Looks like the database is missing the “BaseKV” field. Can you re-install latest openHistorian making sure to either (1) create a new database, or (2) migrate your existing config to a new database when the configuration setup utility runs after installation.

Download latest openHistorian from here:

[http://www.gridprotectionalliance.org/nightlybuilds/openHistorian/Beta/openHistorian.Installs.zip](http://www.gridprotectionalliance.org/nightlybuilds/openHistorian/Beta/openHistorian.Installs.zip)

Thanks,  
Ritchie

---

<div class="post-metadata">

**Author:** ![Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/adnan_iqbal/32/528_2.png) [@Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/u/Adnan_Iqbal)\
**Post date:** [March 5, 2020, 1:02am UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/3 "2020-03-05T01:02:58Z")

</div>

Hello Sir, thank you for your help, your advice was really helpful, and yes now I am able to add PMU configuration in openHistorian manager. Also, while using the web version of openHistorian, I am able to view the real time measurements. But when I try to trend the data for the previous 5 minutes in openHistorian, It does not display any graph. Also when I export the csv file, it has no data. I have attached a screenshot for the same.

 ![openHistorian_Trend](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/621a417f4f178faeaaa9f48692e3464b6d418f8d.png)

Sincerely,  
Adnan Iqbal

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [March 5, 2020, 2:33am UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/4 "2020-03-05T02:33:03Z")

</div>

Are you sure your device timestamps are GPS aligned? You may have to zoom way out to find device data if timestamp is off…

---

<div class="post-metadata">

**Author:** ![Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/adnan_iqbal/32/528_2.png) [@Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/u/Adnan_Iqbal)\
**Post date:** [March 5, 2020, 11:11am UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/5 "2020-03-05T11:11:25Z")

</div>

Hello Sir,  
I am using a Real Time Digital Simulator to generate software PMU measurements with 30 frames/second. For timestamps, I have not used a GPS clocks, instead I have used on card-oscillator for generating 1PPS clock signal.

Also no current values are refreshing in the trend/Export Measurement page, whereas at real-time measurements, I get all signals.

 ![no current Values](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/c27b2a6fe5c185e48b05f5a5069990b322ff7c4c.png)

 ![Real-Time](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/37c4a0249767a47177608d212611fb128133470b.png)

Is this error occurring because of not using a GPS clock?

Thanks,  
Adnan Iqbal

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [March 5, 2020, 12:16pm UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/6 "2020-03-05T12:16:14Z")

</div>

Well - it could be because the timestamps are not anywhere near “current time”. I would look at the simulation software documentation to see what it uses for timestamps - if you can use “local clock”, that might help.

What timestamp do you see when you connect via PMU Connection Tester?

I suspect your data is in the system, but it could be back at “date zero” or something.

---

<div class="post-metadata">

**Author:** ![Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/adnan_iqbal/32/528_2.png) [@Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/u/Adnan_Iqbal)\
**Post date:** [March 5, 2020, 12:28pm UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/7 "2020-03-05T12:28:04Z")

</div>

Yes Sir, you are right. I see the date starts from 01-01-2011. Maybe it is because I have disable the SNTP (simple network time protocol) while configuring the clock settings. I think if I am able to set it up, I may get the data.

 ![TIMESTAMP ERROR](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/ef7c725e4c995168a334a414429ae5d61499f2e9.png)

Thanks,  
Adnan Iqbal

---

<div class="post-metadata">

**Author:** ![Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/adnan_iqbal/32/528_2.png) [@Adnan\_Iqbal](http://discussions.gridprotectionalliance.org/u/Adnan_Iqbal)\
**Post date:** [March 7, 2020, 2:54pm UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/8 "2020-03-07T14:54:37Z")

</div>

Hello Sir, I configured my SNTP server, and was able to get correct timestamps. Thanks for the help. The problem I faced is solved.

Thanks,  
Adnan Iqbal

---

<div class="post-metadata">

**Author:** ![ritchiecarroll](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ritchiecarroll/32/2_2.png) [@ritchiecarroll](http://discussions.gridprotectionalliance.org/u/ritchiecarroll)\
**Post date:** [March 7, 2020, 6:12pm UTC](http://discussions.gridprotectionalliance.org/t/i-am-unable-to-add-a-pmu-device-in-openhistorian/652/9 "2020-03-07T18:12:30Z")

</div>

Glad to hear it! Good luck with your project.
