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. |
||
---|---|---|
.. | ||
scpi.c | ||
scpi_libgpib.c | ||
scpi_serial.c | ||
scpi_tcp.c | ||
scpi_usbtmc_libusb.c | ||
scpi_visa.c | ||
scpi_vxi.c | ||
vxi.h | ||
vxi.x | ||
vxi_clnt.c | ||
vxi_xdr.c |