Bug 1272 - Driver fluke-45 sends "ECHO-TEST" before *IDN? to all SCPI devices on scan
Summary: Driver fluke-45 sends "ECHO-TEST" before *IDN? to all SCPI devices on scan
Status: RESOLVED FIXED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: fluke-45 (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
: 1318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-07 16:05 CEST by Martin Ling
Modified: 2018-11-10 23:16 CET (History)
2 users (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ling 2018-09-07 16:05:39 CEST
Running libsigrok master at 04a0e0dc1c6bfb7b80119795bb854e66e8abbd1a.

With a Rigol DP821A connected, running sigrok-cli --scan causes the fluke-45 driver to probe the Rigol with "ECHO-TEST" before sending *IDN?.

The Rigol doesn't recognise this, which leads to:

sr: scpi_usbtmc: USBTMC bulk in transfer error: LIBUSB_ERROR_TIMEOUT.

and the device beeping and printing "Remote command is incorrect".

Looking at the fluke-45 code it seems this is designed to catch the user having left some local echo feature turned on. If that's a problem, it's going to have to be detected by looking for the echo of the *IDN? command. SCPI drivers shouldn't be sending anything other than *IDN? before positively identifying a device.
Comment 1 Gerhard Sittig 2018-11-04 09:47:00 CET
*** Bug 1318 has been marked as a duplicate of this bug. ***
Comment 2 Uwe Hermann 2018-11-10 23:16:20 CET
Fixed in 71db2d4d06c2d7dd52cfda2d737120ef8648afd5, thanks!

The check is disabled for now, may or may not move elsewhere later.