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

[BUG2433073] Added Enum out to sample_measurement #307

Conversation

WesleyTangNationalInstruments
Copy link
Collaborator

@WesleyTangNationalInstruments WesleyTangNationalInstruments commented Jun 27, 2023

What does this Pull Request accomplish?

  • Fixed an issue where grpc_servicer was not adding annotations to v2 outputs.
  • Fixed an issue where grpc_servicer was using v1 message types instead of v2.
  • Updated sample_measurement's .serviceconfig to use Measurement Service v2
  • Updated measui files for sample_measurement to include an enum out indicator.
  • Fixed an issue with test___measurement_service_v2___get_metadata___returns_metadata where it was checking for v1 message types.

Why should this Pull Request be merged?

AB#2433073
AB#2429625

What testing has been done?

  • Validated sample_measurement runs in InstrumentStudio.
  • Validated MeasurementUIEditor enum indicators properly populate enum outputs.
  • Tests pass.

PythonSampleMeasurementWithEnumsDemo

@dixonjoel
Copy link
Collaborator

If you want this to be in the release associated with 23Q3, you'll want to cherry pick to the releases/1.1 branch.

…pleMeasurementMissingEnumOutput

# Conflicts:
#	examples/sample_measurement/SampleMeasurement.serviceconfig
WesleyTangNationalInstruments added a commit that referenced this pull request Jun 27, 2023
* Fixed an issue in the servicer where we were not adding annotations to output.

* Fixed an issue in the servicer where we were specifying v1 message types for v2 measurement services.

* Fixed an issue where sample files was using v1 interface and thus not getting annotations for output parameters.

* Updated measui files for sample measurement to include enum out control.

* Fixed an issue with test___measurement_service_v2___get_metadata___returns_metadata where it was checking if message types were v1 rather than v2.
@WesleyTangNationalInstruments WesleyTangNationalInstruments deleted the users/wetang/FixedSampleMeasurementMissingEnumOutput branch June 27, 2023 19:47
WesleyTangNationalInstruments added a commit that referenced this pull request Jun 27, 2023
* Fixed an issue in the servicer where we were not adding annotations to output.

* Fixed an issue in the servicer where we were specifying v1 message types for v2 measurement services.

* Fixed an issue where sample files was using v1 interface and thus not getting annotations for output parameters.

* Updated measui files for sample measurement to include enum out control.

* Fixed an issue with test___measurement_service_v2___get_metadata___returns_metadata where it was checking if message types were v1 rather than v2.
WesleyTangNationalInstruments added a commit that referenced this pull request Jun 27, 2023
…nt) to releases/1.1 (#309)

[BUG2433073] Added `Enum out` to sample_measurement (#307)

* Fixed an issue in the servicer where we were not adding annotations to output.

* Fixed an issue in the servicer where we were specifying v1 message types for v2 measurement services.

* Fixed an issue where sample files was using v1 interface and thus not getting annotations for output parameters.

* Updated measui files for sample measurement to include enum out control.

* Fixed an issue with test___measurement_service_v2___get_metadata___returns_metadata where it was checking if message types were v1 rather than v2.
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.

3 participants