]> sigrok.org Git - libsigrok.git/commitdiff
scpi: Fix incomplete data issue for e.g. Hameg HMO1024.
authorMathias Katzer <redacted>
Sun, 11 Jan 2015 00:40:28 +0000 (01:40 +0100)
committerUwe Hermann <redacted>
Sun, 11 Jan 2015 00:43:13 +0000 (01:43 +0100)
On a Hameg HMO1024 you get incomplete data because the USB transfer takes
longer than the scpi->read_timeout_ms of 1 second that is defined in
scpi_dev_inst_new(). Therefore reset the timeout in sr_scpi_get_string()
whenever the device sends a partial response.


No differences found