31 lines
998 B
Markdown
31 lines
998 B
Markdown
# DAQ view & transform
|
|
|
|
```shell
|
|
zig build run
|
|
```
|
|
|
|
## Resources
|
|
|
|
* https://www.ni.com/docs/en-US/bundle/ni-daqmx-c-api-ref/page/cdaqmx/help_file_title.html
|
|
* https://www.ni.com/en/support/documentation/supplemental/06/getting-started-with-ni-daqmx--main-page.html
|
|
* https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGfDCAW&l=en-LT
|
|
* https://ziglang.org/learn/build-system/
|
|
|
|
## TODO
|
|
|
|
* Use downsampling for faster rendering of samples. When viewing many samples use dowsampled versions of data for rendering. Because you either way, you won't be able to see the detail.
|
|
|
|
* Export .xcf files at build time
|
|
```
|
|
(let* (
|
|
(image (car (gimp-file-load RUN-NONINTERACTIVE "./icon.xcf" "./icon.xcf")))
|
|
(merged-layer (car (gimp-image-merge-visible-layers image CLIP-TO-BOTTOM-LAYER)))
|
|
)
|
|
(file-png-save RUN-NONINTERACTIVE image merged-layer "./icon.png" "./icon.png" 0 9 0 0 0 0 0)
|
|
(gimp-image-delete image)
|
|
)
|
|
```
|
|
|
|
```
|
|
gimp-console-2.10.exe -i -b <batch> -b "(gimp-quit 0)"
|
|
``` |