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

$ 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.
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

Version is:
$ sigrok-cli -V
sigrok-cli 0.8.0-git-7c765fc

Libraries and features:
- libsigrok 0.6.0-git-095eba1/4:0:0 (rt: 0.6.0-git-095eba1/4:0:0).
 - Libs:
  - glib 2.52.3 (rt: 2.52.3/5203:3)
  - libzip 1.3.0
  - libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
  - libusb-1.0 1.0.21.11156
  - libftdi 1.4
  - Host: x86_64-apple-darwin16.7.0, little-endian.
  - SCPI backends: TCP, RPC, serial, USBTMC.

If someone could help me...


------------------------------------------------------------------------------
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