diff --git a/src/hardware/rigol-ds/protocol.c b/src/hardware/rigol-ds/protocol.c index 3ea0cea8..03f7af5a 100644 --- a/src/hardware/rigol-ds/protocol.c +++ b/src/hardware/rigol-ds/protocol.c @@ -748,8 +749,8 @@ SR_PRIV int rigol_ds_receive(int fd, int revents, void *cb_data) if (devc->num_block_read == devc->num_block_bytes) { sr_dbg("Block has been completed"); if (devc->model->series->protocol >= PROTOCOL_V3) { - /* Discard the terminating linefeed */ - sr_scpi_read_data(scpi, (char *)devc->buffer, 1); + /* Discard the terminating linefeed, and read one more to trigger sr_scpi_read_complete */ + sr_scpi_read_data(scpi, (char *)devc->buffer, 2); } if (devc->format == FORMAT_IEEE488_2) { /* Prepare for possible next block */