Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to timestamp by myself #46

Open
guide12349 opened this issue Apr 24, 2024 · 1 comment
Open

how to timestamp by myself #46

guide12349 opened this issue Apr 24, 2024 · 1 comment

Comments

@guide12349
Copy link

Now in the code looks like it will timestamp by itself that takes the time from the microprocessor used. I want to timestamp by myself. I want to add Unix Time values into it myself. How do I fix it?

@poledna
Copy link

poledna commented Sep 10, 2024

Hi
ive just seen your question,
its quite simple actually if you didnt solve that yet.
but when you create the frame you just need to set the soc second of century and frasec fraction of a second

https://github.com/iicsys/pypmu/blob/66e6c495a91efb8a6018061ff7955a6654b1404d/synchrophasor/frame.py#L53C2-L54C50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants