ni / ni/nidaqmx-python

Can't close tasks in an event callback when using gRPC

Open
#559 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
592
Forks
199
Avg merge
1d 16h
Merged PRs (30d)
10

Description

test___done_event_registered___call_clear_in_callback___stop_close_in_callback_with_success_status and test___every_n_samples_event_registered___call_clear_in_callback___stop_close_in_callback_with_success_status fail when closing a task in an event callback.

This is supported when not using gRPC

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate and run the two named event-callback tests, then compare their gRPC behavior with the supported non-gRPC path. Trace how callback-triggered task clearing and closing are handled, and confirm the tests pass when closing a task from the callback with a success status.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.