Commit b97ffcd
Implement gRPC Waveform Support (#878)
* remove all "not implemented in GRPC" test markers
* implement methods in _grpc_interpreter.mako
* update changelog
* update nidaqmx.proto and stub_generator.py
* fix lint and some mypy issues
* generate .pyi for timestamp and waveform
* _fix_ni_protobuf_imports()
* lint
* Sort proto files for deterministic generation order
* lint
* normalize line endings
* revert sorting fix
* lint
* fix some line endings
* fix stub_generator line endings
* write_bytes in stub_generator
* stub_generator cleanup
* force crlf endings
* line endings
* cleanup
* cleanup
* fix line endings
* cleanup
* cleanup
* _get_num_samps_per_chan helper
* cleanup
* improve changelog
* _waveform_utils.py
* add ni-protobuf-types dependency and revert changes in stub_generator
* grpc interpreter cleanup
* use waveform_conversion methods
* cleanup
* target_waveform.timing = temp_waveform.timing
* simplify read_analog_waveforms and read_digital_waveforms
* simplify write_analog_waveforms and write_digital_waveforms
* cleanup
* revert _handle_rpc_error
* cleanup
---------
Co-authored-by: Mike Prosser <[email protected]>1 parent f62b0ca commit b97ffcd
File tree
34 files changed
+3129
-2568
lines changed- generated/nidaqmx
- _stubs
- src
- codegen
- protos
- templates
- handwritten
- tests
- benchmark
- component
- stream_readers
- stream_writers
- task
34 files changed
+3129
-2568
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1879 | 1879 | | |
1880 | 1880 | | |
1881 | 1881 | | |
1882 | | - | |
| 1882 | + | |
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
| |||
1935 | 1935 | | |
1936 | 1936 | | |
1937 | 1937 | | |
1938 | | - | |
| 1938 | + | |
1939 | 1939 | | |
1940 | 1940 | | |
1941 | 1941 | | |
| |||
1945 | 1945 | | |
1946 | 1946 | | |
1947 | 1947 | | |
1948 | | - | |
| 1948 | + | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | 1951 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| 30 | + | |
| 31 | + | |
24 | 32 | | |
25 | 33 | | |
26 | 34 | | |
| |||
3616 | 3624 | | |
3617 | 3625 | | |
3618 | 3626 | | |
3619 | | - | |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
| 3631 | + | |
| 3632 | + | |
| 3633 | + | |
3620 | 3634 | | |
3621 | 3635 | | |
3622 | 3636 | | |
| |||
3626 | 3640 | | |
3627 | 3641 | | |
3628 | 3642 | | |
3629 | | - | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
| 3665 | + | |
| 3666 | + | |
3630 | 3667 | | |
3631 | 3668 | | |
3632 | 3669 | | |
| |||
3636 | 3673 | | |
3637 | 3674 | | |
3638 | 3675 | | |
3639 | | - | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
3640 | 3685 | | |
3641 | 3686 | | |
3642 | 3687 | | |
| |||
3648 | 3693 | | |
3649 | 3694 | | |
3650 | 3695 | | |
3651 | | - | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
3652 | 3722 | | |
3653 | 3723 | | |
3654 | 3724 | | |
| |||
3659 | 3729 | | |
3660 | 3730 | | |
3661 | 3731 | | |
3662 | | - | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
3663 | 3746 | | |
3664 | 3747 | | |
3665 | 3748 | | |
| |||
3668 | 3751 | | |
3669 | 3752 | | |
3670 | 3753 | | |
3671 | | - | |
| 3754 | + | |
3672 | 3755 | | |
3673 | 3756 | | |
3674 | 3757 | | |
| |||
3677 | 3760 | | |
3678 | 3761 | | |
3679 | 3762 | | |
3680 | | - | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
| 3777 | + | |
| 3778 | + | |
3681 | 3779 | | |
3682 | 3780 | | |
3683 | 3781 | | |
| |||
3686 | 3784 | | |
3687 | 3785 | | |
3688 | 3786 | | |
3689 | | - | |
| 3787 | + | |
3690 | 3788 | | |
3691 | 3789 | | |
3692 | 3790 | | |
3693 | 3791 | | |
3694 | | - | |
| 3792 | + | |
3695 | 3793 | | |
3696 | 3794 | | |
3697 | 3795 | | |
3698 | | - | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
| 3810 | + | |
| 3811 | + | |
3699 | 3812 | | |
3700 | 3813 | | |
3701 | 3814 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
7011 | 7012 | | |
7012 | 7013 | | |
7013 | 7014 | | |
7014 | | - | |
7015 | | - | |
7016 | | - | |
7017 | | - | |
7018 | | - | |
7019 | | - | |
7020 | | - | |
7021 | | - | |
7022 | | - | |
| 7015 | + | |
7023 | 7016 | | |
7024 | 7017 | | |
7025 | 7018 | | |
| |||
7130 | 7123 | | |
7131 | 7124 | | |
7132 | 7125 | | |
7133 | | - | |
7134 | | - | |
7135 | | - | |
7136 | | - | |
7137 | | - | |
7138 | | - | |
7139 | | - | |
7140 | | - | |
7141 | | - | |
| 7126 | + | |
7142 | 7127 | | |
7143 | 7128 | | |
7144 | 7129 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments