Commit 859c18d
Add support for reading digital waveforms (#809)
* add read_digital_waveform() to Interpreters and DigitalSingleChannelReader
* read_digital_waveforms
* cleanup
* add digital support to Task.read_waveform()
* handle LineGrouping.CHAN_FOR_ALL_LINES
* cleanup
* test for ports and better asserts
* test cleanup
* cleanup and add test___digital_multi_channel_multi_line_reader___reuse_waveform_in_place___overwrites_data_timing_and_attributes
* from __future__ import annotations
* api cleanup
* minor test cleanups
* fix test assertion
* bytes_per_chan_array and interpreter.read_new_digital_waveforms()
* assert signal names, and test lines and port together
* tests with lines and port together in a single channel
* use constructor instead of DigitalWaveform.from_lines()
* cleanup
---------
Co-authored-by: Mike Prosser <[email protected]>1 parent bf7babb commit 859c18d
File tree
14 files changed
+2366
-174
lines changed- examples/digital_in
- generated/nidaqmx
- task
- src
- codegen/templates
- handwritten
- task
- tests/component
14 files changed
+2366
-174
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | | - | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
1858 | 1860 | | |
1859 | 1861 | | |
1860 | 1862 | | |
1861 | | - | |
| 1863 | + | |
1862 | 1864 | | |
1863 | 1865 | | |
1864 | 1866 | | |
| |||
1869 | 1871 | | |
1870 | 1872 | | |
1871 | 1873 | | |
1872 | | - | |
1873 | | - | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
3609 | 3609 | | |
3610 | 3610 | | |
3611 | 3611 | | |
3612 | | - | |
| 3612 | + | |
3613 | 3613 | | |
3614 | 3614 | | |
3615 | 3615 | | |
| |||
3619 | 3619 | | |
3620 | 3620 | | |
3621 | 3621 | | |
3622 | | - | |
| 3622 | + | |
| 3623 | + | |
| 3624 | + | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
| 3631 | + | |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
| 3638 | + | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
3623 | 3656 | | |
3624 | 3657 | | |
3625 | 3658 | | |
| |||
0 commit comments