# PyPMU connect to Openpdc

**URL:** <http://discussions.gridprotectionalliance.org/t/pypmu-connect-to-openpdc/946>\
**Category:** openPDC\
**Created:** [September 14, 2021, 5:10pm UTC](http://discussions.gridprotectionalliance.org/t/pypmu-connect-to-openpdc/946 "2021-09-14T17:10:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haoyu](http://discussions.gridprotectionalliance.org/letter_avatar_proxy/v4/letter/h/f17d59/32.png) [@haoyu](http://discussions.gridprotectionalliance.org/u/haoyu)\
**Post date:** [September 14, 2021, 5:10pm UTC](http://discussions.gridprotectionalliance.org/t/pypmu-connect-to-openpdc/946/1 "2021-09-14T17:10:36Z")

</div>

![image](http://gridbits.gridprotectionalliance.org/uploads/default/original/1X/0c145119862c22422614ab66e92bb72612afed2b.png)  
I delete the line header and run the program. However, it just appears’Requesting to start sending from PMU (127.0.0.1:8900)'. I debug the program and I find that in line 11 pdc.start the wrong occurs.  
 ![image](http://gridbits.gridprotectionalliance.org/uploads/default/original/1X/5ac33baad6614146cf6105a6e23985e59ded6ef9.png)  
I think the figure of my Openpdc set is correct.  
Could you help me to give me some advice?  
Thanks a lot.

---

<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:** [September 14, 2021, 5:20pm UTC](http://discussions.gridprotectionalliance.org/t/pypmu-connect-to-openpdc/946/2 "2021-09-14T17:20:37Z")

</div>

Try these steps:  
(1) Remove the `UDP Channel` configuration (just delete all text there)  
(2) Change `LagTime` to **5**  
(3) Change `LeadTime` to **5**  
(4) Click `Save`  
(5) Click `Initialize`

Try steps again. The default configuration there is setup for a UDP data channel, but your code appears to be setup for TCP only.

Thanks,  
Ritchie
