<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Extended logging using Power Profiler Kit.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34771/extended-logging-using-power-profiler-kit</link><description>Hello Everyone, 
 I am using Nordic&amp;#39;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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 May 2018 07:58:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34771/extended-logging-using-power-profiler-kit" /><item><title>RE: Extended logging using Power Profiler Kit.</title><link>https://devzone.nordicsemi.com/thread/133962?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 07:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db90c54-6b8f-4bb6-ad8b-236386dceaa8</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;So for a 24 hour run, all you need is the time and value for the peak during this time frame?&lt;/p&gt;
&lt;p&gt;It is possible to write data to file, but we also need to&amp;nbsp;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended logging using Power Profiler Kit.</title><link>https://devzone.nordicsemi.com/thread/133877?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 15:20:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1117045e-494b-4a75-a4f9-4ebfc55d949f</guid><dc:creator>Sujan Nag</dc:creator><description>&lt;p&gt;Yes, getting the&amp;nbsp;average value over a period of time will also suffice for my application.&lt;/p&gt;
&lt;p&gt;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?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended logging using Power Profiler Kit.</title><link>https://devzone.nordicsemi.com/thread/133796?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 11:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a88d8863-79e8-4dcd-808c-043bbb5f2902</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;As Bjorn said; just altering the code would lead to too much data being aggregated, and your computer will most probably struggle a lot.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;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&amp;nbsp;every data point the ppk stremas&amp;nbsp;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.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Extended logging using Power Profiler Kit.</title><link>https://devzone.nordicsemi.com/thread/133743?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 07:35:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9869df00-1eff-4a2e-a823-f0924dd3e2d9</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Most likely 24 hours would be a stretch too long. You can have a look at the &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-ppk/blob/master/lib/constants.js"&gt;source code for the ppk SW here&lt;/a&gt;. You can change the const variable in line 42 (BUFFER_LENGTH_IN_SECONDS). I would be careful to increase this value all too much, as it requires quite a bit of memory. You might be able to get 10 to 20 minutes of logging if you have enough memory &amp;amp; CPU power, but I doubt you&amp;#39;d be able to increase this value much more than that. If you increase the value too much, there might be some unintended memory consequences, so be careful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>