rigol-ds: free memory that was allocated by SCPI get routines The SCPI get routines may allocate memory for response data which callers have to free after use. The approach to release allocated memory is simlar or identical to the corresponding parts of pull request 95, in an attempt to get the reported leak fixes in, yet reduce the potential for conflicts where this commit deviates from the PR. Most work was done by Ralf. Thank you! This addresses part of bug #1683. Submitted-By: Reported-By: Ralf <redacted> Tested-By: Reported-By: Ralf <redacted>
rigol-ds: Add initial Rigol MSO5000 support. This adds basic support for the Rigol MSO5000 series. It has the same problems as the DS4000 series: Live capture provides one digital channel per byte. Buffered memory returns the data compressed (one byte has 8 digital channels), but the banks are read separately. It's not possible to read uint16.
rigol-ds: Fix crash when fetching logic channels When refactoring the code, some places where sr_scpi_send was replaced by rigol_ds_config_set the first argument was not changed from sdi->conn to sdi. Fix the remaining ones. Fix: https://sigrok.org/bug/1073 Signed-off-by: Stefan Brüns <redacted>