Hi
Does TIDM-SERVER-PWR-MON support SAG/SWELL, the metrology section shows it is implemented, but application is referencing to already built library.
What command required to read SAG/SWELL event?
Thanks
Venkat
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
Does TIDM-SERVER-PWR-MON support SAG/SWELL, the metrology section shows it is implemented, but application is referencing to already built library.
What command required to read SAG/SWELL event?
Thanks
Venkat
Hi Venkat,
You can find functions related to sag and swell in the 'emeter-dlt645.c' file. This file implements the communication protocol on top of the UART interface. More specifically, Lines 240 and 241 load parts of a message with sag and swell events using the "sag_events(phx)" and "swell_events(phx)" functions, where "phx" represents the phase (most likely 0 here). In the 'metrology-readings.c' file, I found some functions/structures related to the sag/swell duration as well. I would recommend using the "Edit" -> "Find and Replace" -> "Find in Files" feature in IAR. In case I missed something, you can search for "sag" and "swell" throughout the project.
Hopefully this helps.
Regards,
James
MSP Customer Applications
**Attention** This is a public forum