You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add WriteDigitalWaveforms to NiDAQmxService (#1216)
* 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
* implement WriteDigitalWaveforms
* memcpy optimization
* fix merge
* test cleanup
* Brad's feedback
* trailing metadata
* added tests to verify the trailing metadata in error cases
* fix asserts
* fix crash in ReadAnalogWaveforms
* EXPECT_THROW_DRIVER_ERROR
* guard against negative-overflow array_size in ReadDigitalWaveforms
---------
Co-authored-by: Mike Prosser <Mike.Prosser@emerson.com>
0 commit comments