Refactor Task Internal Modules (ExportSignal, OutStream, Timing) #539
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this Pull Request accomplish?
This PR aims to address issue brought up in #461:
nidaqmx._task_modules
package.task.py
into a package and merge it with the internal modules contained innidaqmx._task_modules
Refactoring work will be split into 5 PRs:
_task.py
and_in_stream.py
- Refactor task.py and internal module (in_stream.py) #534_export_signal.py
,_out_stream.py
,_timing.py
- Implemented in this PR_channel_collection.py
,_ai_channel_collection.py
,_ao_channel_collection.py
,_ci_channel_collection.py
,_co_channel_collection.py
,_di_channel_collection.py
,_do_channel_collection.py
_channel.py
,_ai_channel.py
,_ao_channel.py
,_ci_channel.py
,_co_channel.py
,_di_channel.py
,_do_channel.py
_triggers.py
,_arm_start_trigger.py
,_handshake_trigger.py
,_pause_trigger.py
,_reference_trigger.py
,_start_trigger.py
Why should this Pull Request be merged?
In this PR to address #461, following changes have been made:
export_signal.py
,out_stream.py
andtiming.py
into private submodule and moved them totask
package.export_signal
,out_stream.
andtiming.
.What testing has been done?
Ran
poetry run pytest
and all tests passed.