Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split API addition for SpecAn Personality #1090

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

RahulBenaka
Copy link
Contributor

What does this Pull Request accomplish?

Adding Split APIs for niRFmxSpecAn personality as part of the WI: https://dev.azure.com/ni/DevCentral/_workitems/edit/2820766

The metadata required for these APIs are generated as part of PR: https://github.com/ni/grpc-device-scrapigen/pull/239

Why should this Pull Request be merged?

This API support in gRPC was requested as part of the WI: https://dev.azure.com/ni/DevCentral/_workitems/edit/2820766

There is a need for adding Split APIs as a part of our gRPC APIs as the corresponding APIs which uses Complex datatype are taking more time to execute than expected. The reason for this is because of the extra time consumed while implicitly converting the Complex Datatype into real and imaginary part.

But if the user can use Split API, they can directly pass the real and imaginary values and avoid the extra time of implicit conversion.

What testing has been done?

Manually inspected generated files.
Copied files from grpc-device-scrapigen/out/rfmxspecan/export/ to grpc-device/source/codegen/metadata/nirfmxspecan/ and built grpc-device successfully.
Manually inspected nirfmxspecan.proto file.
It is adding only the entries for Split APIs and neither modifying the existing entries nor adding any new entries.

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