]> sigrok.org Git - libsigrok.git/commit
scpi-pps: don't fail acquisition start for devices with no CMD_SELECT_CHANNEL
authorAurelien Jacobs <redacted>
Sat, 9 May 2015 21:06:10 +0000 (23:06 +0200)
committerAurelien Jacobs <redacted>
Sat, 9 May 2015 21:06:10 +0000 (23:06 +0200)
commitc1603f4574c8ce9648b51ea587b99cfb0bb02420
tree2715b84a7bc5dc045d6bbc704d902d56c760560e
parentbbc42811d0c29e37e449d38d897b8e9cecdc8ba3
scpi-pps: don't fail acquisition start for devices with no CMD_SELECT_CHANNEL

For devices such as the HP 6632B the following invocation was failing due to
scpi_cmd(sdi, SCPI_CMD_SELECT_CHANNEL, ...) returning SR_OK_CONTINUE.

./sigrok-cli -d scpi-pps:conn=/dev/ttyUSB0:serialcomm=9600/8n1 --continuous
sr: session: sr_session_start: could not start an acquisition (not enough data to decide error status yet)
Failed to start session.
src/hardware/scpi-pps/api.c
src/hardware/scpi-pps/protocol.c