Renaming a Custom Analyzer

If you are building your custom analyzer from one of the pre-installed analyzers listed at the bottom of the article below, then you may want to rename the analyzer to suit your needs.

The script as shared in our SampleAnalyzer only works with the SampleAnalyzer. If you plan on building a custom analyzer using another existing analyzer as a starting point, then the steps below will help rename your analyzer so that it appears in the software as you'd like.

Specifically, to change the name of the analyzer, you really only need to edit some things below. Here we are using the SPI Analyzer source code as the example.:

  1. In CMakeLists.txt.

    • Change project(spi_analyzer) to project(my_analyzer). This controls the output library's file name (e.g. spi_analyzer.dll,, etc)

    • The line of code is here.

  2. In two places in the SPIAnalyzer.cpp, change "SPI" to "My Analyzer" :

    • Here and Here.

    • These control the name of the analyzer as shown in the Logic software.

  3. Optional - You may also edit the source file names and the class names, but this is not required.