Am 13.10.2018 um 17:05 schrieb Uwe Hermann: > Hi, > > On Fri, Oct 12, 2018 at 02:24:07AM +0200, Lars Pötter wrote: >> here https://sigrok.org/wiki/Korad_KAxxxxP_series it says you want to >> see new device IDs: >> >> I have a KORAD KD3005P it is 0..30V, 0..5A power supply with serial and >> USB. The device ID seems to be 'KORADKD3005PV2.0'. > > Great, thanks! This is now included in the driver, see > > https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff;h=76f712a73f3213a7ec0a38e38302cf2f04f48976 > > The AppImages are refreshed, please give it a try and report whether the > device works fine now. Thanks!
I had the device powered on at 12V with a current limit of 0.7A and nothing connected: ./sigrok-cli-NIGHTLY-x86_64.AppImage -l 5 -d korad-kaxxxn=/dev/ttyACM0 --scan sr: [00:00.000000] log: libsigrok loglevel set to 5. sr: [00:00.001584] backend: libsigrok 0.6.0-git-0540954/4:0:0 (rt: 0.6.0-git-0540954/4:0:0). sr: [00:00.001636] backend: Libs: glib 2.40.2 (rt: 2.48.2/4802:2), libzip 0.10.1, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11004 API 0x01000102, libftdi 1.2. sr: [00:00.001656] backend: Host: x86_64-unknown-linux-gnu, little-endian. sr: [00:00.001681] backend: SCPI backends: TCP, RPC, serial, USBTMC. sr: [00:00.001687] backend: Firmware search paths: sr: [00:00.001731] backend: - /home/lars/.local/share/sigrok-firmware sr: [00:00.001738] backend: - /home/jenkins_slave/sr/share/sigrok-firmware sr: [00:00.001744] backend: - /tmp/.mount_sigrokMQnfIZ/usr/share/sigrok-firmware sr: [00:00.001750] backend: - /home/lars/.local/share/flatpak/exports/share/sigrok-firmware sr: [00:00.001756] backend: - /var/lib/flatpak/exports/share/sigrok-firmware sr: [00:00.001762] backend: - /usr/share/xfce/sigrok-firmware sr: [00:00.001767] backend: - /usr/share/xfce4/sigrok-firmware sr: [00:00.001771] backend: - /home/lars/.local/share/flatpak/exports/share/sigrok-firmware sr: [00:00.001777] backend: - /var/lib/flatpak/exports/share/sigrok-firmware sr: [00:00.001783] backend: - /usr/local/share/sigrok-firmware sr: [00:00.001789] backend: - /usr/share/sigrok-firmware sr: [00:00.001795] backend: - /usr/share/mdm/sigrok-firmware sr: [00:00.001801] backend: - /usr/share/sigrok-firmware sr: [00:00.001821] backend: Sanity-checking all drivers. sr: [00:00.001831] backend: Sanity-checking all input modules. sr: [00:00.001838] backend: Sanity-checking all output modules. sr: [00:00.001847] backend: Sanity-checking all transform modules. srd: libsigrokdecode loglevel set to 5. sr: [00:00.006183] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi (nil) cg NULL -> [uint32 20000, 20001] sr: [00:00.006226] serial: Opening serial port '/dev/ttyACM0' (flags 1). sr: [00:00.008793] serial: Parsing parameters from "9600/8n1". sr: [00:00.009371] serial: Setting serial parameters on port /dev/ttyACM0. sr: [00:00.011684] serial: Flushing serial port /dev/ttyACM0. sr: [00:00.011709] korad-kaxxxxp: Want max 22 bytes. sr: [00:00.011726] korad-kaxxxxp: Sending '*IDN?'. sr: [00:00.011773] serial: Wrote 5/5 bytes. sr: [00:00.076012] serial: Read 17/22 bytes. sr: [00:03.221971] korad-kaxxxxp: Received: 'KORADKD3005PV2.0'. sr: [00:03.221994] korad-kaxxxxp: Received: 0, KORADKD3005PV2.0 sr: [00:03.221999] korad-kaxxxxp: Found: Korad KD3005P (idx 5, ID 'KORADKD3005PV2.0'). sr: [00:03.222015] korad-kaxxxxp: Sending 'IOUT1?'. sr: [00:03.222047] serial: Wrote 6/6 bytes. sr: [00:03.250031] serial: Read 5/5 bytes. sr: [00:03.250062] korad-kaxxxxp: Received: '0.000'. sr: [00:03.250085] korad-kaxxxxp: value: 0.000000 sr: [00:03.302157] korad-kaxxxxp: Sleeping for processing 51955 usec sr: [00:03.302186] korad-kaxxxxp: Sending 'ISET1?'. sr: [00:03.302208] serial: Wrote 6/6 bytes. sr: [00:03.339344] serial: Read 5/5 bytes. sr: [00:03.339377] korad-kaxxxxp: Received: '0.700'. sr: [00:03.339389] korad-kaxxxxp: value: 0.700000 sr: [00:03.340343] serial: Read 1/1 bytes. sr: [00:03.382294] korad-kaxxxxp: Sleeping for processing 41851 usec sr: [00:03.382326] korad-kaxxxxp: Sending 'VOUT1?'. sr: [00:03.382364] serial: Wrote 6/6 bytes. sr: [00:03.424085] serial: Read 5/5 bytes. sr: [00:03.424115] korad-kaxxxxp: Received: '12.00'. sr: [00:03.424133] korad-kaxxxxp: value: 12.000000 sr: [00:03.462452] korad-kaxxxxp: Sleeping for processing 38226 usec sr: [00:03.462495] korad-kaxxxxp: Sending 'VSET1?'. sr: [00:03.462525] serial: Wrote 6/6 bytes. sr: [00:03.502708] serial: Read 5/5 bytes. sr: [00:03.502737] korad-kaxxxxp: Received: '12.00'. sr: [00:03.502750] korad-kaxxxxp: value: 12.000000 sr: [00:03.542611] korad-kaxxxxp: Sleeping for processing 39768 usec sr: [00:03.542644] korad-kaxxxxp: Sending 'STATUS?'. sr: [00:03.542673] serial: Wrote 7/7 bytes. sr: [00:03.572237] serial: Read 1/1 bytes. sr: [00:03.572271] korad-kaxxxxp: Received: 'Q'. sr: [00:03.572279] korad-kaxxxxp: Status: 0x51 sr: [00:03.572286] korad-kaxxxxp: Status: CH1: constant voltage CH2: constant current. Tracking would be series. Device is independent and beeping. Buttons are unlocked. Output is enabled and extra byte is false. sr: [00:03.572307] serial: Closing serial port /dev/ttyACM0. sr: [00:03.611362] hwdriver: Scan found 1 devices (korad-kaxxxxp). The following devices were found: korad-kaxxxxp - Korad KD3005P with 2 channels: V I sr: [00:03.611517] hwdriver: Cleaning up all drivers. sr: [00:03.611540] serial: Cannot close unopened serial port /dev/ttyACM0. I would say that looks good. (The device has only one channel, so the second is not in constant current mode, and the port is closed twice, but better twice than not at all.) Thank you very much for the great software. And for helping me out. I will report back if I run into issues while playing with it some more, but that might take some time. Thanks again. Lars _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel