Commit 22c4a8c
Add ReadDigitalWaveforms to NiDAQmxService (#1213)
* Enhance NIDAQmx API with waveform support and additional metadata
- Added ReadAnalogWaveforms method stub to NiDAQmxService for reading analog waveforms.
- Updated metadata validation to include CustomCodeNoLibrary.
- Introduced new waveform attributes and functions in metadata.
- Enhanced CMake configuration for new protobuf files.
- Improved CONTRIBUTING.md with Ninja build instructions.
* fix lint
* fix validate_examples
* ReadAnalogWaveforms implementation (untested, but compiles)
* add tests
* Add support for creating two AI voltage channels in tests
* cleanup
* cleanup CMakeLists.txt
* attempt fix for ubuntu build
* more verbose build output
* Try some different build settings
* add quotes to fix cmake flags
* add sampsPerChanRead to ReadAnalogWaveforms response
* revert changes in build_cmake.yml and do -fno-var-tracking-assignments instead
* use GCC push_options
* use -fno-var-tracking-assignments globally for gcc
* fix timing conversion
* add ReadDigitalWaveforms RPC with stub implementation
* implementation and tests for single channel
* test multi channel and multi line
* add copilot instructions for how to build with ninja, and do some cleanup
* fix data layout
* brad's feedback
* copy protobuf types protos to heirarchical location
* fix merge and templatize the SetWfmAttrCallback
* copilot-build.ps1
* handle epoch difference (note - SecondsFrom0001EpochTo1904Epoch value is off by 5ish months)
* convert_dot_net_daqmx_ticks_to_btf_precision_timestamp
* fixes and cleanup
* cleanup and more test cases
* PrecisionTimestampConverterLiteralTests
* fix merge
* remove copilot instructions (will be added in separate PR)
* use correct logic for NI-BTF
* test cleanup
* fillMode: 1 = GROUP_BY_SCAN_NUMBER (interleaved)
* cleanup merge
* cleanup
* use waveform->mutable_y_data();
* test cleanup
* Brad's feedback
* cleanup
---------
Co-authored-by: Mike Prosser <[email protected]>1 parent 5f047e3 commit 22c4a8c
File tree
7 files changed
+541
-50
lines changed- generated/nidaqmx
- source
- codegen/metadata/nidaqmx
- custom
- tests/system
7 files changed
+541
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| 470 | + | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| |||
11535 | 11536 | | |
11536 | 11537 | | |
11537 | 11538 | | |
| 11539 | + | |
| 11540 | + | |
| 11541 | + | |
| 11542 | + | |
| 11543 | + | |
| 11544 | + | |
| 11545 | + | |
| 11546 | + | |
| 11547 | + | |
| 11548 | + | |
| 11549 | + | |
| 11550 | + | |
| 11551 | + | |
| 11552 | + | |
| 11553 | + | |
| 11554 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12441 | 12441 | | |
12442 | 12442 | | |
12443 | 12443 | | |
| 12444 | + | |
| 12445 | + | |
| 12446 | + | |
| 12447 | + | |
| 12448 | + | |
| 12449 | + | |
| 12450 | + | |
| 12451 | + | |
| 12452 | + | |
| 12453 | + | |
| 12454 | + | |
| 12455 | + | |
| 12456 | + | |
| 12457 | + | |
| 12458 | + | |
| 12459 | + | |
| 12460 | + | |
| 12461 | + | |
| 12462 | + | |
| 12463 | + | |
| 12464 | + | |
| 12465 | + | |
| 12466 | + | |
| 12467 | + | |
| 12468 | + | |
| 12469 | + | |
| 12470 | + | |
12444 | 12471 | | |
12445 | 12472 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| 472 | + | |
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
71 | 141 | | |
72 | 142 | | |
73 | 143 | | |
| |||
101 | 171 | | |
102 | 172 | | |
103 | 173 | | |
104 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
105 | 181 | | |
106 | 182 | | |
107 | 183 | | |
| |||
0 commit comments