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

how to find out the frame per sec rate and devie access ID

Jan 25, 2010 at 9:49 PM

I was given a file in PDC format 37.118.

When I tried to read it, I was asked the following parameters:

1. Frame Rate
2. Device ID Code
3. Is the protocol IEEE C37.118-2005 or IEEE C37.118-Draft 6

 

How can I find out the above parameters?

Please help.


Thanks.

 

CJ

Jan 26, 2010 at 1:21 AM

There is no indicator in the IEEE C37.118 protocol to determine if stream format is draft 6 or version 1, you'll just need to test it.  Use the following steps to get what you need:

First, follow the documentation item for "device to data in 5 easy steps": http://openpdc.codeplex.com/wikipage?title=Device%20to%20Data&referringTitle=Documentation

Second, change the connection string to something like:

parser.ConnectionString =
                "phasorProtocol=IeeeC37_118V1; " +
                "transportProtocol=File; file=MySampleData.bin";

replacing "MySampleData.bin" with your captured file. To test for Draft 6, use IeeeC7_118D6 as the phasor protocol.

Third, change the received configuration frame event handler similar to the following:

    static void parser_ReceivedConfigurationFrame(object sender, EventArgs<IConfigurationFrame> e)
    {
        IeeeC37_118.ConfigurationFrame2 configFrame = e.Argument as IeeeC37_118.ConfigurationFrame2;

        if (configFrame != null)
        {
            // Notify the user when a configuration frame is received
            Console.WriteLine("Received IEEE C37.118 configuration frame with {0} device(s)", configFrame.Cells.Count);
            Console.WriteLine("     Frame Rate = {0}", configFrame.FrameRate);
            Console.WriteLine(" Device ID Code = {0}", configFrame.IDCode);
            Console.WriteLine("        Version = {0}", configFrame.Version);
        }
        else
        {
            // Notify the user when a configuration frame is received
            Console.WriteLine("Received configuration frame with {0} device(s)", e.Argument.Cells.Count);
        }
    }

 

Jan 26, 2010 at 11:28 AM

Also, if you are just looking for something quick (non-code), you can just install the PMU Connection Tester (http://openpdc.codeplex.com/wikipage?title=Getting%20Started&referringTitle=Connection%20Tester&ANCHOR#openpdc_installers) and this will show you the information as well. See here for more information on the PMU Connection Tester: http://openpdc.codeplex.com/wikipage?title=Connection%20Tester&referringTitle=Documentation

Hope this all helps!

Ritchie

Jan 27, 2010 at 11:32 PM

Ritchie,

 

Would you be kind enough to do a test if I send the file to you?

 

Thanks.

Jan 28, 2010 at 1:14 PM

I would be happy to.

Jan 28, 2010 at 7:09 PM
ritchiecarroll wrote:

I would be happy to.

Could you send me your email address as  the web site doesn't have upload feature?

 

Thanks a lot.

 

CJ

Jan 28, 2010 at 8:01 PM

Please send me your e-mail through this link and I will reply with an e-mail where you send the file:

    https://www.codeplex.com/site/users/contact/ritchiecarroll?OriginalUrl=http://www.codeplex.com/site/users/view/ritchiecarroll

Thanks!