The brand-new PN400 Phase Noise Test System is available for purchase! →

Reply To: shr_parser errors

Forums › General Discussions › shr_parser errors › Reply To: shr_parser errors

#255018
AndrewAndrew
Moderator

Hi Joe,

Looks like an incomplete branch. Looks like it was copied from the branch above and not finished.

It should probably look more like this,


if(state.header.decimationDetector == SHRDecimationDetectorAvg) {
    printf("Averaged trace(s) for %.2f seconds per output trace\n", state.header.decimationTimeMs / 1000.0);
} else {
    printf("Max held trace(s) for %.2f seconds per output trace\n", state.header.decimationTimeMs / 1000.0);
}

This is untested, but I think is closer to what was intended. If you are able to try that, let me know if it prints what you expect.

  • This reply was modified 6 months ago by AndrewAndrew.
  • This reply was modified 6 months ago by AndrewAndrew.
  • This reply was modified 6 months ago by AndrewAndrew.
  • This reply was modified 6 months ago by AndrewAndrew.