iicsys/pypmu

PyPMU how to connect to openpdc

Closed this issue · 3 comments

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

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.

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?

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