scpi-parser
                                
                                
                                
                                    scpi-parser copied to clipboard
                            
                            
                            
                        Open Source SCPI device library
I was asked to add a help mechanism to list all currently supported scpi commands. Hopefully I haven't overlooked another implementation somewhere. I'd love to hear your thoughts on the...
Human-readability is often a welcome aspect when developing software for SCPI devices, but also valuable when testing configurations or debugging issues in a lab or test setup. Command syntax and...
scpi-99 6.2.3.4 and 6.2.6 suggest returning multiple blocks is valid. SCPI_ResultArbitraryBlockHeader() would need to insert a delimiter. Other changes are: testing for _GLIBCXX_HAVE_STDBOOL_H (see https://github.com/j123b567/scpi-parser/issues/116), testing for non-NULL data in...
I'm trying to use this library in a project with g++, and it seems that `__STDC_VERSION__` is not defined when compiling C++ (https://gcc.gnu.org/onlinedocs/cpp/Standard-Predefined-Macros.html). This seems like it poses an issue...
Test fix
Fixes for the 'test-tcp' program
The problem of the fragmented *IDN? response can be mitigated somewhat by enabling nagle during the response to that command.
Hi, The example in scpi-parser/examples/test-tcp is not compatible with sigrok: ``` sr: [00:00.005751] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi (nil) cg NULL -> [uint32 20000] sr: [00:00.005794] serial: Parsed serial...
When I try to compile this library in a C++ project, I get this error: ``` ../libscpi/src/error.c: In function 'scpi_bool_t SCPI_ErrorAddInternal(scpi_t*, int16_t, char*, size_t)': ../libscpi/src/error.c:136:28: error: invalid conversion from 'long...
This PR both removes the recursive function calls in SCPI_RegSet and allows library users to add their own device-specific registers to the parser. This PR is a revised version of...