Skip to content

Conversation

@mikeprosserni
Copy link
Contributor

@mikeprosserni mikeprosserni commented Nov 3, 2025

  • This contribution adheres to CONTRIBUTING.md.
  • I've updated CHANGELOG.md if applicable.
  • I've added tests applicable for this pull request

What does this Pull Request accomplish?

For each of the nine interpreter methods in _grpc_interpreter.py:

read_analog_waveform()
read_analog_waveforms()
read_digital_waveform()
read_digital_waveforms()
read_new_digital_waveforms()
write_analog_waveform()
write_analog_waveforms()
write_digital_waveform()
write_digital_waveforms()

This PR implements the interpreter method by calling self._client.

Why should this Pull Request be merged?

AB#3424636

What testing has been done?

All of the waveform tests that had been disabled for grpc have now been enabled.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2025

Test Results

    42 files  ±0      42 suites  ±0   1h 5m 9s ⏱️ + 3m 31s
 3 119 tests ±0   2 540 ✅ + 81    579 💤  -  81  0 ❌ ±0 
51 448 runs  ±0  41 800 ✅ +810  9 648 💤  - 810  0 ❌ ±0 

Results for commit f2cbbe0. ± Comparison against base commit f62b0ca.

This pull request removes 8 and adds 8 tests. Note that renamed tests count towards both.
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_daq_error[grpc_init_kwargs]
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_daq_error[library_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_daq_error[grpc_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_daq_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_daq_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_daq_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_daq_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_daq_error[library_init_kwargs]
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_error[grpc_init_kwargs]
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_error[library_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_error[grpc_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_error[library_init_kwargs]
This pull request removes 8 skipped tests and adds 8 skipped tests. Note that renamed tests count towards both.
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_daq_error[grpc_init_kwargs]
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_daq_error[library_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_daq_error[grpc_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_daq_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_daq_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_daq_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_daq_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_daq_error[library_init_kwargs]
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_error[grpc_init_kwargs]
tests.component.stream_writers.test_analog_multi_channel_writer ‑ test___analog_multi_channel_writer___write_waveforms_with_different_lengths___raises_error[library_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_error[grpc_init_kwargs]
tests.component.stream_writers.test_digital_multi_channel_writer ‑ test___digital_multi_channel_writer___write_waveforms_with_different_sample_counts___raises_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_ao ‑ test___task___write_waveforms_with_different_lengths___raises_error[library_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_error[grpc_init_kwargs]
tests.component.task.test_task_write_waveform_do ‑ test___task___write_waveforms_with_different_sample_counts___raises_error[library_init_kwargs]

♻️ This comment has been updated with latest results.

@mikeprosserni mikeprosserni changed the title [Under Construction] Implement gRPC Waveform Support Implement gRPC Waveform Support Nov 10, 2025
Copy link
Collaborator

@bkeryan bkeryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, assuming tests are now passing

@mikeprosserni mikeprosserni merged commit b97ffcd into master Nov 11, 2025
29 checks passed
@mikeprosserni mikeprosserni deleted the users/mprosser/task-3424636-grpc-waveform-support branch November 11, 2025 22:50
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.

4 participants