iicsys / pypmu

pyPMU - Python implementation of the IEEE C37.118 synchrophasor standard
BSD 3-Clause "New" or "Revised" License
60 stars 46 forks source link

PyPMU how to connect to openpdc #31

Closed haoyu112 closed 5 months ago

haoyu112 commented 2 years ago

Hello, I try to use the package Synchrophsor package in Python to connect with the OpenPDC. However, I meet some problems that the progress appears Received unknown messages. Could you tell me how to develop the progress to solve this Problem. 微信图片_20210909205340

sstevan commented 2 years ago

Hey @haoyu112,

You can delete line number 7 since get_header() does not do anything specific (returns header message). However, you will need to get a configuration frame (line 8) somehow because PDC needs it to unpack values.

haoyu112 commented 2 years ago

image image

hello ssteven, I delete the line number 7, but when I run Pdc.get. I get nothing. Could you help me to solve the problem?

haoyu112 commented 2 years ago

Hey @haoyu112,

You can delete line number 7 since get_header() does not do anything specific (returns header message). However, you will need to get a configuration frame (line 8) somehow because PDC needs it to unpack values.

https://user-images.githubusercontent.com/90436214/132998317-d91ab5d7-65f0-4a44-9ac4-00c6448bb48c.png hello ssteven, I delete the line number 7, but when I run Pdc.get. I get nothing. Could you help me to solve the problem? https://user-images.githubusercontent.com/90436214/132997480-1977942c-53c5-45b5-8a24-1841f6c6108e.png However, I find these are some information in get_config