Jan Cumps
Jan Cumps
thought: an other option would be to flag the comms error the part of your design that generates that data. It can then stop pushing data to the SCPI lib.
I see what you're doing there. That will work to make the functions that return arrays stop faster. It has to be validated that none of the possible `(func)` can...
In the vxi11 example, it is checked then cleared when [writing the reply ](https://github.com/j123b567/scpi-parser/blob/4e879901b51cbb43dab36dd83f95a23f1dbaa4c0/examples/test-vxi11/main.c#L51) It's set in [Flush](https://github.com/j123b567/scpi-parser/blob/4e879901b51cbb43dab36dd83f95a23f1dbaa4c0/examples/test-vxi11/main.c#L72)
@hakimoune , have you tried to put 3.3*output/4095 in a variable of type double, and see what its value is? suggestion to see what's wrong: ``` double dacval = 3.3...
addition: sdk 1.5.1 works on the same Windows both 1.5.1 and 2.0.0 work on Ubuntu 22.0 LTS
Works with g++ (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders) 13.2.0 on the OS path
It also fails in for gcc-15.1.0 on Windows (toolchain: winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-13.0.0-r2) ``` C:/Users/jancu/Documents/Pico/workspace_sdk2.0.0/callbackmanager/build/_deps/googletest-src/googlemock/include/gmock/internal/gmock-internal-utils.h:304:7: error: standard attributes in middle of decl-specifiers 304 | GTEST_API_ | ^~~~~~~~~~ C:/Users/jancu/Documents/Pico/workspace_sdk2.0.0/callbackmanager/build/_deps/googletest-src/googlemock/include/gmock/internal/gmock-internal-utils.h:304:7: note: standard attributes must precede...