You can try rebuilding the entire solution, but let’s try a different approach.
Perhaps it would be easier just to use the openPDC to create a configuration for you. Install the latest openPDC from here:
Note that during installation configuration you can just use “SQLite” as your database source for simplicity of installation. Just click “next” through most options and use the default settings and you should be fine.
Once the openPDC is installed, close the openPDC Manager if its running - we will want to open the manager with admin rights.
Before we start, copy the capture file Stephen created for you (i.e., bus8.pmucapture) into the "C:\Program Files\openPDC" installation folder.
Now find the openPDC Manager in the start menu and right-click on the shortcut and select “Run as Administrator”.
Once the manager is running with admin rights, navigate to the “Inputs / Input Device Wizard” from the main menu (or just click the “Input Device Wizard” button from the home screen).
Close the pop-up wizard window titled “Input Wizard Walkthrough” by clicking the “X” button at the top-right of the pop-up. We will manually walk through configuration steps.
Now we need to select your PMU capture file as the data source, do this by clicking the blue-blocks wizard icon to the right of the “Connection String” input area.
Click on the “File” tab and then click on the “Browse” button and navigate to your PMU capture file, i.e., “C:\Program Files\openPDC\bus8.pmucapture” then click “Save”.
Note: the file location of the PMU capture file is important as the openPDC service needs “rights” to the file. The easiest way to accommodate this issue is to just to copy the file into the openPDC installation folder, typically C:\Program Files\openPDC. If you use another folder, the openPDC will need read rights to this folder - this can be accomplished by editing the security rights for the folder and explicitly giving the “NT SERVICE\openPDC” user or the “openPDC Admins” local group the needed rights.
Now manually append the following text to your connection string:
; configurationFile=C:\Program Files\openPDC\bus8config.xml
Your full configuration string should now look like the following:
file=C:\Program Files\openPDC\bus8.pmucapture; definedframerate=30; simulatetimestamp=true; autorepeatfile=true; transportprotocol=file; configurationFile=C:\Program Files\openPDC\bus8config.xml
Click the “Next” button at the bottom right of the screen and then click on the “Edit Configuration” button. Use this interface to build a configuration that matches your device input. When you are done click “Save”.
Now click “Save Configuration” and save your file as “C:\Program Files\openPDC\bus8config.xml”.
Click “Next” and “Finish”.
Now click on “Monitoring / Graph Measurements” from the main menu. Expand “Direct Connected” and you should see your device. You can click on individual measurements and see if data is flowing.
Note that you now have a serialized XML file that you can use in the PMU Connection Tester against your PMU Capture file. Run the connection tester and select your capture. Now click on “File / Config File / Load” from the main menu and load the “bus8config.xml” file and data should properly parse.
Also, you can now create a new “output stream” from within the openPDC and send a new IEEE C37.118 stream with your data to any destination.
Hope that helps!
Ritchie