Hi, I’ve found this page: http://pylibftdi.readthedocs.io/en/latest/troubleshooting.html
They say that OS X includes kernel drivers which will reserve the FTDI device by default So indeed, there was a default driver loaded After unloading it, I tried the command: $ sigrok-cli -d ftdi-la:conn=0403.6001 --samples 1 libsigrok 0.6.0-git-095eba1 Acquisition with 8/8 channels TXD:1 RXD:1 RTS#:1 CTS#:1 DTR#:1 DSR#:1 DCD#:1 RI#:1 All channel values are « 1 » trying samples 3 gives: $ sigrok-cli -d ftdi-la:conn=0403.6001 --samples 3 libsigrok 0.6.0-git-095eba1 Acquisition with 8/8 channels TXD:111 RXD:111 RTS#:111 CTS#:111 DTR#:111 DSR#:111 DCD#:111 RI#:111 How can I do to have the real values. I have tried with a console the command: ID Response was: 0FLUKE 287,V1.16,377 I tried then: QM Response was: 00.1575E0,VDC,NORMAL,NONE -> I had a 0.15VDC I’ve done this using /dev/cu.usbserial-AK05FTGH at 115200 baud. I’ve spent all the sunday trying to solve the problem Thanks for any help > Le 29 oct. 2017 à 15:25, nb via sigrok-devel > <sigrok-devel@lists.sourceforge.net> a écrit : > > 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 ------------------------------------------------------------------------------ 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