Hello,
my Name is Andreas from Germany and I want to port the work from
https://sourceforge.net/p/sigrok/mailman/message/34880540/ to Windows.
Actually I am done with compiling this "Library" in Linux (Debian Jessie) an
it works very well. Then I tried to cross compile it for Windows. Even this
seems to work. But when I try to use pulseview or sigrok-cli in Windows, I
get an LIBUSB ERROR (see below). Can anyone help?
C:\Programme\sigrok\sigrok-cli>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
hantek-4032l:conn=1.10 - Hantek 4032L with 32 channels: A0 B0 A1 B1 A2 B2 A3
B3
A4 B4 A5 B5 A6 B6 A7 B7 A8 B8 A9 B9 A10 B10 A11 B11 A12 B12 A13 B13 A14 B14
A15
B15
C:\Programme\sigrok\sigrok-cli>sigrok-cli --show -d hantek-4032l
Driver functions:
Logic analyzer
Scan options:
conn
hantek-4032l:conn=1.10 - Hantek 4032L with 32 channels: A0 B0 A1 B1 A2 B2 A3
B3
A4 B4 A5 B5 A6 B6 A7 B7 A8 B8 A9 B9 A10 B10 A11 B11 A12 B12 A13 B13 A14 B14
A15
B15
Channel groups:
A: channels A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15
B: channels B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15
Supported configuration options across all channel groups:
samplerate - supported samplerates:
1 kHz
2 kHz
4 kHz
8 kHz
16 kHz
31.25 kHz
62.5 kHz
125 kHz
250 kHz
500 kHz
625 kHz
781.25 kHz
1 MHz
1.25 MHz
1.5625 MHz
2 MHz
2.5 MHz
3.125 MHz
4 MHz
5 MHz
6.25 MHz
10 MHz
12.5 MHz
20 MHz
25 MHz
40 MHz
50 MHz
80 MHz
100 MHz
160 MHz
200 MHz
320 MHz
400 MHz
captureratio: 5 (current)
limit_samples: 16384 (current)
Supported triggers: 0 1 r f e
conn: 1.10 (current)
Device seems to be working.. But when I try to capture data, I get the
following Error.
C:\Programme\sigrok\sigrok-cli>sigrok-cli -l 5 -d hantek-4032l
--samples=2048
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0/3:0:0 (rt: 0.5.0/3:0:0).
sr: [00:00.000000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip
0.11.2
, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3,
libf
tdi 1.2.
sr: [00:00.000000] backend: Host: i686-w64-mingw32.static.posix,
little-endian.
sr: [00:00.000000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.000000] backend: Sanity-checking all drivers.
sr: [00:00.000000] backend: Sanity-checking all input modules.
sr: [00:00.000000] backend: Sanity-checking all output modules.
sr: [00:00.010000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.010000] hwdriver: Initializing driver 'hantek-4032l'.
sr: [00:00.010000] usb: Trying to find USB device with VID:PID = 04b5:4032.
sr: [00:00.040000] usb: Found USB device (VID:PID = 04b5:4032, bus.address =
1.9).
sr: [00:00.040000] usb: Found 1 device(s).
sr: [00:00.040000] hwdriver: Scan of 'hantek-4032l' found 1 devices.
sr: [00:00.040000] usb: Trying to open USB device 1.9.
sr: [00:00.070000] usb: Opened USB device (VID:PID = 04b5:4032, bus.address
= 1.
9).
sr: [00:00.070000] hwdriver: sr_config_set(): key 50001 (limit_samples) sdi
00D6
2C38 cg NULL -> uint64 2048
sr: [00:00.070000] session: Using thread-default main context.
sr: [00:00.070000] session: Starting.
sr: [00:00.070000] hantek-4032l: Failed to submit transfer:
LIBUSB_ERROR_NOT_FOUND.
sr: [00:00.070000] session: Could not start hantek-4032l device (null)
acquisition.
Failed to start session.
Thanks in advance.
Andreas
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel