# Transmit Data to pmu connection tester through networking

**URL:** <http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38>\
**Category:** PMU Connection Tester\
**Created:** [June 23, 2016, 8:11pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38 "2016-06-23T20:11:07Z")\
**Posts on this page:** 19\
**Page:** 8

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [October 19, 2016, 8:19pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/141 "2016-10-19T20:19:26Z")

</div>

You have lots of options here. Google is a good resource. Here is a handful of links to give you ideas.

> **[Copy To the Clipboard From the Windows Command Prompt](https://www.howtogeek.com/howto/windows-vista/copy-to-the-clipboard-from-the-windows-command-prompt/)**
>
> Let’s face it, not everybody is an ubergeek, so there are many times that you’ll need to ask somebody for help. They always seem to ask you to type things into the command prompt and then tell them the results… but how do you copy that text to the...

> **[How to concatenate multiple strings (C# Guide)](https://docs.microsoft.com/en-us/dotnet/csharp/how-to/concatenate-multiple-strings)**
>
> There are multiple ways to concatenate strings in C#. Learn the options and the reasons behind different choices.

[https://msdn.microsoft.com/en-us/library/8bh11f1k.aspx](https://msdn.microsoft.com/en-us/library/8bh11f1k.aspx)

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 19, 2016, 8:27pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/142 "2016-10-19T20:27:25Z")

</div>

Thank You So much Sir

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 20, 2016, 10:00am UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/143 "2016-10-20T10:00:10Z")

</div>

Sir,  
This crc code is not giving me complete 2 bytes of some frames :

 ![](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/788165eb5a6fe9836993ac4316d279355365446d.JPG)  
My code is:

byte[] bytes = a;  
CrcCCITT calc = new CrcCCITT();  
calc.Update(bytes);  
ushort crc = calc.Value;  
[//Console.WriteLine](http://Console.WriteLine)(crc);  
int intValue = crc;  
// Convert integer 182 as a hex in a string variable  
string hexValue = intValue.ToString(“X”);  
Console.WriteLine(hexValue);

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 20, 2016, 10:05am UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/144 "2016-10-20T10:05:34Z")

</div>

Sir,  
I think in crc start with 0 hex 0 is omitted and not included  
For eg 0AF4 should be displayed instead of AF4 both have decimal equivalent is 2804

---

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [October 20, 2016, 1:08pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/145 "2016-10-20T13:08:33Z")

</div>

That’s right. You can use the PadLeft() method to pad with zeros.  
[https://msdn.microsoft.com/en-us/library/92h5dc07(v=vs.110).aspx](https://msdn.microsoft.com/en-us/library/92h5dc07(v=vs.110).aspx)

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 20, 2016, 1:12pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/146 "2016-10-20T13:12:32Z")

</div>

Sir,  
I want to pad zeros at only some frames not on all frames. This will pad zero on all frames.

---

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [October 20, 2016, 1:14pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/147 "2016-10-20T13:14:39Z")

</div>

It will pad zeros up to a total width, so if the input string already matches the total width there will be no padding.

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 20, 2016, 1:36pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/148 "2016-10-20T13:36:34Z")

</div>

Sir,  
When i use text file with 18005 frames file reading program didn’t read properly. When i use text file with 100 frames it reads properly. Just look at first frame in screenshot

 ![](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/acdd81242b643102d4c1455263358f329ad6fa31.JPG)  
What can i do now?

---

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [October 20, 2016, 1:52pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/149 "2016-10-20T13:52:48Z")

</div>

Is that the first frame in the file? Maybe the console window’s buffer isn’t large enough to display all 18005 frames. You can change the buffer size.

> **[Can You Change the Output Buffer Size in the Windows Command Prompt?](https://www.howtogeek.com/235765/can-you-change-the-output-buffer-size-in-the-windows-command-prompt/)**
>
> If you are someone who loves using the Windows Command Prompt, you may have found yourself curious as to why the screen output buffer has such a ‘large’ default size. Can you change it to a smaller (or even larger) size? Today’s SuperUser Q&A...

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 21, 2016, 2:22pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/150 "2016-10-21T14:22:55Z")

</div>

Sir,  
Is there any option to display graphical data of multiple devices in different sub-screens?

---

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [October 25, 2016, 4:32pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/151 "2016-10-25T16:32:11Z")

</div>

I’m not sure what you mean by that. If you connect the openPDC to multiple devices, the openPDC Manager can display data from those devices on the Graph Measurements screen.

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [October 26, 2016, 9:21am UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/152 "2016-10-26T09:21:36Z")

</div>

Sir,  
In pmu connection tester can i display multiple devices data at the same time?

---

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [October 26, 2016, 12:49pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/153 "2016-10-26T12:49:15Z")

</div>

No, you can’t. The PMU Connection Tester is designed only to test connections to PMUs and provide displays to validate that the data is correct.

---

<div class="post-metadata">

**Author:** ![owais1993](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/o/a6a055/32.png) [@owais1993](http://discussions.gridprotectionalliance.org/u/owais1993)\
**Post date:** [December 2, 2016, 1:37pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/154 "2016-12-02T13:37:46Z")

</div>

Sir,

 ![](http://discussions.gridprotectionalliance.org/uploads/default/original/1X/3faf00d559c5ad6979dd8b85ded14f457f734dd3.JPG)  
In this picture, Phase Angle is 1749.5 but Phase Angle graph is showing some different result like around 90 and 0 degree.  
Can you explain that phase angle graph?  
Open pdc manager is showing correct graph of phase angles

---

<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:** [December 5, 2016, 2:44pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/155 "2016-12-05T14:44:57Z")

</div>

This graph in the PMU Connection Tester may be set to show relative phase angles. Try changing the setting (on the “Settings” tab) called “PhaseAngleGraphStyle” to “Raw”.

---

<div class="post-metadata">

**Author:** ![ajstadlin](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/ajstadlin/32/74_2.png) [@ajstadlin](http://discussions.gridprotectionalliance.org/u/ajstadlin)\
**Post date:** [December 18, 2016, 6:11am UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/156 "2016-12-18T06:11:12Z")

</div>

Hi, This message was intended to appear after Message #93 above in this discussion thread at the point where [Stephen suggested turning off UDP in the openPDC TESTSTREAM Output settings](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/93) and [Ritchie followed up by noting this is done by clearing the UDP connection string information](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/93) in the openPDC Output Stream configuration for the TESTSTREAM.

The problem can be resolved by proper openPDC and complementary PMU Connection Tester configurations.

The following exercise sets up openPDC on a server to stream to 2 PMU Connection Testers. One PMU Tester is the openPDC server itself, and the other is a remote over the network. The Output Stream is configured with 1 TCP command channel and 2 UDP data channels - one for each PMU Connection Tester receiver.

[Exercise: openPDC and PMU Connection Tester in Windows - Test openPDC Concentrator Output Streaming to PMU Connection Tester](https://github.com/GridProtectionAlliance/DeveloperExercises/blob/master/Exercise_openPDC_and_PMUConnectionTester_in_Windows2016.md#test-openpdc-concentrator-output-streaming-to-pmu-connection-tester)

//aj  
// Jan 6, 2017 - Exercise link updated

---

<div class="post-metadata">

**Author:** ![StephenCWills](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/stephencwills/32/20_2.png) [@StephenCWills](http://discussions.gridprotectionalliance.org/u/StephenCWills)\
**Post date:** [July 26, 2019, 8:13pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/158 "2019-07-26T20:13:29Z")

</div>

Hello Anil,

Given that this thread is three years old and there are now 157 messages in the thread, it would be hard for any of us to figure out what steps you are referring to in your message. You should have better luck if you create a separate thread and provide a few more details about what you are trying to do and the issue you are having.

Thanks,  
Stephen

---

<div class="post-metadata">

**Author:** ![shivesh\_shitesh\_dwiv](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/shivesh_shitesh_dwiv/32/1508_2.png) [@shivesh\_shitesh\_dwiv](http://discussions.gridprotectionalliance.org/u/shivesh_shitesh_dwiv)\
**Post date:** [February 11, 2025, 7:02am UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/160 "2025-02-11T07:02:12Z")

</div>

![image](http://discussions.gridprotectionalliance.org/uploads/default/original/2X/2/2b4b4ce7176f46c3c819e83eb4347d4ab1995fcf.png)  
sir i m trying to send data fro matlab to pmutester but facing this problem could you plese helpe me resolve the problem

---

<div class="post-metadata">

**Author:** ![clackner-gpa](http://discussions.gridprotectionalliance.org/user_avatar/discussions.gridprotectionalliance.org/clackner-gpa/32/556_2.png) [@clackner-gpa](http://discussions.gridprotectionalliance.org/u/clackner-gpa)\
**Post date:** [February 11, 2025, 1:48pm UTC](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38/161 "2025-02-11T13:48:52Z")

</div>

Hi Shivesh,  
Since this thread is over 6 years old you may be better off creating a new thread.  
The original issue here was related to ingesting data from a file, it is unlikely this is related to ingesting data from Matlab.

Are you trying to use C37.118 to send data from Matlab into the Connectiontester?  
Based on the error it does not look like it is sending a valid C37.118 packet.

[Previous page](http://discussions.gridprotectionalliance.org/t/transmit-data-to-pmu-connection-tester-through-networking/38.md?page=7)
