libsigrok/hardware/common
poljar (Damir Jelić) f5922adef5 scpi: Add a function to read and wait on a *OPC? reply.
The SCPI standard specifies the "*OPC?" command (Operation complete query) which
queries the instrument for its operative state. When all pending operations are
complete, the instrument responds with a "1".

Some manufacturers block before completing all operations and don't respond
with anything and some of them respond with a "0". This function handles both
cases uniformly.
2013-12-03 15:10:01 +01:00
..
dmm configure.ac: libserialport is optional. 2013-11-15 09:36:51 +01:00
Makefile.am scpi: Add helper functions for SCPI communication. 2013-12-03 15:10:00 +01:00
ezusb.c s/DRIVER_LOG_DOMAIN/LOG_PREFIX/. 2013-05-03 21:59:32 +02:00
scpi.c scpi: Add a function to read and wait on a *OPC? reply. 2013-12-03 15:10:01 +01:00
serial.c Use new libserialport blocking/nonblocking API calls. 2013-12-01 18:51:24 +01:00
usb.c s/DRIVER_LOG_DOMAIN/LOG_PREFIX/. 2013-05-03 21:59:32 +02:00