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

Power Profiler chart display time span is limited when loading saved captures

I opened an issue on GitHub, but then I noticed that the README says to post issues on DevZone, so here I am.

I'm using the latest version of the Power Profiler app (3.1.1) with nRF Connect for Desktop on Windows to collect data from a PPK2. When I capture data for more than two minutes (by lowering the sample rate), during the live session, I'm able to zoom out and see large time spans > 2 minutes. If I save to a .ppk file and later reopen it, it initially displays the full capture span, but as soon as I pan or zoom, it clips the maximum time span down to 2 minutes.

As detailed in the GitHub issue, this appears to be a bug where the time zoom settings for the chart still depend upon the live capture settings (which are defaulted to the maximum sample rate when loading a file) which limit it to 2 minutes. Ideally, when looking at a saved capture file, the available time spans should be calculated using the actual duration of the capture file instead.

Also, when loading the file, the Lock Y-axis toggle starts out on for me (possibly because I usually have it enabled before I save the capture), but it still behaves as if it were disabled until I toggle it off and back on again.

Related