Skip to content

Remove AMPLITUDE_AND_PHASE_FLATNESS deembedding type enum from NI-RFSA and NI-RFSG - #1284

Merged
raghavanv merged 1 commit into
ni:mainfrom
raghavanv:users/rvasudev/removeAmpltiudeAndPhaseFlatness
Aug 13, 2026
Merged

Remove AMPLITUDE_AND_PHASE_FLATNESS deembedding type enum from NI-RFSA and NI-RFSG#1284
raghavanv merged 1 commit into
ni:mainfrom
raghavanv:users/rvasudev/removeAmpltiudeAndPhaseFlatness

Conversation

@raghavanv

@raghavanv raghavanv commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

What does this Pull Request accomplish?

Removes the AMPLITUDE_AND_PHASE_FLATNESS DeembeddingType enum value from both NI-RFSA and NI-RFSG, reverting that portion of #1277. The AMPLITUDE_FLATNESS value is retained.

Removed values:

  • NI-RFSA DeembeddingType: AMPLITUDE_AND_PHASE_FLATNESS = 3904
  • NI-RFSG DeembeddingType: AMPLITUDE_AND_PHASE_FLATNESS = 25004

Files changed (mirrors the 6 files touched by #1277):

  • source/codegen/metadata/nirfsa/enums.py, source/codegen/metadata/nirfsg/enums.py
  • generated/nirfsa/nirfsa.proto, generated/nirfsg/nirfsg.proto
  • imports/include/niRFSA.h, imports/include/niRFSG.h

Why should this Pull Request be merged?

The amplitude-and-phase-flatness de-embedding mode should not be exposed through the gRPC interface for these drivers, so this removes the enum value that was added in #1277 while leaving amplitude-flatness support in place.

What testing has been done?

  • Codegen validation: Rebuilt the project (runs codegen); the only resulting diffs were the intended enum removals — metadata and generated .proto files stayed in sync.
  • Full build: Completed a full Debug build (cmake --build) — all 101 targets compiled and linked with 0 errors.
  • Unit tests: UnitTestsRunner.exe — 505 tests across 26 suites, all passing.

@raghavanv
raghavanv merged commit 1d21443 into ni:main Aug 13, 2026
9 checks passed
@raghavanv
raghavanv deleted the users/rvasudev/removeAmpltiudeAndPhaseFlatness branch August 13, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants