On Sonntag, 29. Oktober 2017 15:25:58 CET nb via sigrok-devel wrote:
> Hi,
> 
> I'm trying to use a Fluke 287 with sigrok-cli. It is connected with a
> Genuine IR189USB  cable. But it doesn't work. I use a Mac with OS Sierra.
> 
> A scan gives:
> 
> $ sigrok-cli --scan
> The following devices were found:
> demo - Demo device with 12 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0 A1 A2 A3
> ftdi-la - FTDI FT232R USB UART with 8 channels: TXD RXD RTS# CTS# DTR# DSR#
> DCD# RI#
> 
> $ sigrok-cli -d fluke-dmm --scan
> -> This command responds nothing. It just returns

Devices on plain serial ports can not be autodetected
 
> $ sigrok-cli -d ftdi-la -C RXD --continuous -O analog
> sr: ftdi-la: Failed to open device (-5): unable to claim usb device. Make
> sure the default FTDI driver is not in use Failed to open device.
> 
> I have connected the cable to a Linux box, and I have seen that VID:PID is
> 0403:6001 so I tried this:
> $ sigrok-cli --driver fluke-dmm:conn=0403.6001 --scan
> sr: serial: Attempt to open serial port with invalid parameters.
> sr: serial: Attempt to open serial port with invalid parameters.
> sr: serial: Attempt to open serial port with invalid parameters.
> 
> but
> 
> $ sigrok-cli --driver ftdi-la:conn=0403.6001 --scan
> The following devices were found:
> ftdi-la - FTDI FT232R USB UART with 8 channels: TXD RXD RTS# CTS# DTR# DSR#
> DCD# RI#
> 
> ftdi-la seems to be a good choice since the cable contains a ftdi chip, and
> ls -ltr /dev/cu.* gives: crw-rw-rw-  1 root  wheel   20, 0x000001eb 29 oct
> 12:52 /dev/cu.usbserial-AK05FTGH
> 
> Here are two other commands I've tried:
> $ sigrok-cli -d ftdi-la:conn=/dev/cu.usbserial-AK05FTGH --show
> Driver functions:
>     Logic analyzer
> Scan options:
>     conn
> sr: usb: Neither VID:PID nor bus.address was specified.
> sr: usb: Neither VID:PID nor bus.address was specified.
> sr: usb: Neither VID:PID nor bus.address was specified.
> No devices found.
> 
> I don't understant why it says it's a logic analyser.

Because you specifically told it to treat the ftdi as a logic analyzer - ftdi-
*la*

> And
> 
> $ sigrok-cli -d fluke-dmm:conn=/dev/cu.usbserial-AK05FTGH --show
> Driver functions:
>     Multimeter
> Scan options:
>     conn
>     serialcomm
> sr: serial: Attempt to open serial port with invalid parameters.
> sr: serial: Attempt to open serial port with invalid parameters.
> sr: serial: Attempt to open serial port with invalid parameters.
> No devices found

Try also setting the serialcomm parameter, e.g.
fluke-dmm:conn=/dev/cu.usbserial-AK05FTGH:serialcomm=115200
 
Kind regards,

Stefan

-- 
Stefan Brüns  /  Bergstraße 21  /  52062 Aachen
home: +49 241 53809034     mobile: +49 151 50412019

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to