]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: Also start reading on timeout (workaround for USBTMC)
authorStefan Brüns <redacted>
Sun, 17 Apr 2016 17:14:27 +0000 (19:14 +0200)
committerUwe Hermann <redacted>
Sat, 23 Apr 2016 15:09:52 +0000 (17:09 +0200)
scpi_serial generate an POLLIN event after the requested data is returned
by the instrument. For USBTMC it is necessary to
1. send an REQUEST_DEV_DEP_MSG_IN request
2. submit an USB bulk read transfer asynchronously.

Using the synchronous libusb_bulk_read() does not generate an POLLIN event.

Solving this properly needs major surgery in spci_usbtmc_libusb.


No differences found