Bug 1161 - Analog I channel output is always present for KORAD CSV output format and sample number is always 0.
Summary: Analog I channel output is always present for KORAD CSV output format and sam...
Status: RESOLVED DUPLICATE of bug 1026
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Output: csv (show other bugs)
Version: 0.5.0
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 15:32 CEST by HoracioDos
Modified: 2018-04-21 15:57 CEST (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description HoracioDos 2018-04-13 15:32:46 CEST
Hello!
Analog I channel output is always present for KORAD CSV output format and sample number is always 0. 
Example 1:
sigrok-cli  --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --channels V --samples 3 -o readings.log -O csv
Output:
; CSV generated by libsigrok 0.6.0-git-d4b3f44
; from Korad KAxxxxP on Fri Apr 13 10:28:12 2018
; Channels (1/2): V
I: 0 mA
samples,V DC
0,3
I: 0 mA
0,3
I: 0 mA
0,3
Example 2
sigrok-cli  --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --channels V,I --samples 3 -o readings.log -O csv
Output 2:
; CSV generated by libsigrok 0.6.0-git-d4b3f44
; from Korad KAxxxxP on Fri Apr 13 10:30:55 2018
; Channels (2/2): V, I
I: 0 mA
samples,V DC,A
0,3,0
I: 0 mA
0,3,0
I: 0 mA
0,3,0

Thanks in advance!
Comment 1 Uwe Hermann 2018-04-21 15:57:27 CEST
Thanks! I think you're hitting two already reported bugs at once here. One is #941 (sample number always 0) and the other is #1026 (analog output format is always emitted, but it shouldn't; this will be fixed soon).

Closing this bug, marking as duplicate for now.

*** This bug has been marked as a duplicate of bug 1026 ***