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

When calling niscope.Session.fetch_array_measurement in a MeasurementLink measurement plugin, meas_wfm_size cannot be set #1941

Closed
ni-jfitzger opened this issue Apr 13, 2023 · 1 comment · Fixed by #1935

Comments

@ni-jfitzger
Copy link
Collaborator

Description of issue

Due to ni/grpc-device#914, niscope 1.4.3 does not allow meas_wfm_size to be set for fetch_array_measurement in a MeasurementLink measurement plugin.

Attempting to set meas_wfm_size will result in ValueError('The argument "meas_wfm_size" must be None when using gRPC.')

@ni-jfitzger
Copy link
Collaborator Author

Note: The fix requires NI gRPC Device Server 2023 Q2 or later. Earlier versions will return all samples, even if fewer are requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant