Use byte strings for digital reads/writes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 592
- Forks
- 199
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 10
Description
bytes strings seem to be the method focused on for parsing binary data in python. The struct and array modules help dissect bytes into smaller bits of useful information.
I found this out when working on the nixnet API where I needed to parse arrays of uint8_t's into frames. See https://github.com/ni/nixnet-python/blob/master/nixnet/_frames.py#L13
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not identify files or tests in nidaqmx-python; begin by locating the digital read/write API and comparing its binary-data handling with the referenced nixnet/_frames.py example. Clarify which operations should use bytes and what compatibility is required, then define completion around consistent digital read/write behavior and coverage for uint8_t-style frame data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, embedded-iot
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100