ni / ni/nidaqmx-python

Raw read/write methods only support AI/AO

Open
#522 0 comments 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

In the DAQmx LV and C APIs, the raw read/write functions support all channel types including DIO and counters. However, the nidaqmx-python raw read/write methods (task.in_stream.read and task.out_stream.write) query AI/AO-specific properties in order to determine the raw data format. Calling these methods on a DIO or counter task will error because these AI/AO-specific properties are not supported.

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

Start at the task.in_stream.read and task.out_stream.write entry points and trace the AI/AO-specific property queries used to choose the raw data format. Verify behavior with DIO and counter tasks, and consider the work done when raw reads and writes no longer fail because those AI/AO-only properties are unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.