This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Extended logging using Power Profiler Kit.

Hello Everyone,

I am using Nordic's Power Profiler Kit to estimate the current consumption of an external board. I have been able to configure it properly and getting results on the nRF Connect v2.3.0 - Power Profiler, (screenshot attached)

However, I am getting readings of only 120 seconds, 

My query is, is there any way to get readings for at least 24 hours. I understand this might be outside the current capabilities of the power profiler kit software, hence I am open to writing any small program or script which can read the data intended for the power profiler kit and store it in a log for at least 24 hours.

Any help would be appreciated.

Thanks and Regards

Sujan Nag.

Parents
  • As Bjorn said; just altering the code would lead to too much data being aggregated, and your computer will most probably struggle a lot. 

    But, can I ask for more details about your use case? Would it be enough to periodically log the average number for a given interval, at a given time span? This way, for example, you can have an average taken over every 20s throughout the day. Storing every data point the ppk stremas would amount to _a lot_ of data to sift through by the end of the day, but by only logging average we might be able to run even longer logs as well. 

  • Yes, getting the average value over a period of time will also suffice for my application.

    However, for my use case all I need is the timestamp and the peak value at that time. What I was thinking, rather than storing the data in memory, is it possible to push the data into a log file?

  • So for a 24 hour run, all you need is the time and value for the peak during this time frame?

    It is possible to write data to file, but we also need to consider how to represent it. Writing ASCII values to a file will make it incredibly large after a short amount of time, so then we might need to store raw (binary) data and have some extra functionality to view the data set. We also have to give the user some options for logging, so you can choose according to requirements and system capabilities.

Reply
  • So for a 24 hour run, all you need is the time and value for the peak during this time frame?

    It is possible to write data to file, but we also need to consider how to represent it. Writing ASCII values to a file will make it incredibly large after a short amount of time, so then we might need to store raw (binary) data and have some extra functionality to view the data set. We also have to give the user some options for logging, so you can choose according to requirements and system capabilities.

Children
No Data
Related