Hello,
it seems that the trigger function for the "Hantek 6022BE" is not supported -
is it ?
Using the Windows HANTEK GUI there it works.
I am doing something wrong and or is planned to support this in future ?
sigrok-cli --loglevel 2 -d hantek-6xxx --samples=10 --channels CH1
--triggers CH1=e
Device doesn't support any triggers.
BR,
Werner
Some Info about used computer ...:
uname -a: Linux wernsp2-NUC11TNHi7 5.15.0-57-generic #63~20.04.1-Ubuntu SMP Wed
Nov 30 13:40:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
sigrok-cli -d hantek-6xxx --show
Driver functions:
Oscilloscope
Scan options:
conn
hantek-6xxx:conn=3.26 - Hantek 6022BE with 2 channels: CH1 CH2
Channel groups:
CH1: channel CH1
CH2: channel CH2
Supported configuration options across all channel groups:
conn: 3.26 (current)
limit_samples: 0 (current)
limit_time: 0 (current)
samplerate - supported samplerates:
48 MHz
30 MHz
24 MHz
16 MHz
8 MHz
4 MHz
1 MHz
500 kHz
200 kHz
100 kHz
num_vdiv
sigrok-cli -l 5 -d hantek-6xxx --show
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000014] backend: libsigrok 0.5.2/5:1:1.
sr: [00:00.000029] backend: Libs: glib 2.63.5 (rt: 2.64.6/6406:6), libzip
1.5.1, libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.23.11397 API
0x01000107, hidapi 0.9.0, bluez 5.52, libftdi 1.4.
sr: [00:00.000032] backend: Host: x86_64-pc-linux-gnu, little-endian.
sr: [00:00.000034] backend: SCPI backends: TCP, RPC, serial, USBTMC.
sr: [00:00.000035] backend: Firmware search paths:
sr: [00:00.000042] backend: - /home/wernsp2/.local/share/sigrok-firmware
sr: [00:00.000043] backend: - /usr/share/sigrok-firmware
sr: [00:00.000045] backend: - /usr/share/ubuntu/sigrok-firmware
sr: [00:00.000046] backend: -
/home/wernsp2/.local/share/flatpak/exports/share/sigrok-firmware
sr: [00:00.000047] backend: - /var/lib/flatpak/exports/share/sigrok-firmware
sr: [00:00.000048] backend: - /usr/local/share/sigrok-firmware
sr: [00:00.000049] backend: - /usr/share/sigrok-firmware
sr: [00:00.000051] backend: - /var/lib/snapd/desktop/sigrok-firmware
sr: [00:00.000061] backend: Sanity-checking all drivers.
sr: [00:00.000064] backend: Sanity-checking all input modules.
sr: [00:00.000065] backend: Sanity-checking all output modules.
sr: [00:00.000070] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
Driver functions:
Oscilloscope
sr: [00:00.001591] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi (nil)
cg NULL -> [uint32 20000]
Scan options:
conn
sr: [00:00.001606] hantek-6xxx: Found a Hantek 6022BE.
sr: [00:00.001611] hwdriver: Scan found 1 devices (hantek-6xxx).
sr: [00:00.001621] hwdriver: sr_config_get(): key 20000 (conn) sdi
0x55cd14a160d0 cg NULL -> '3.26'
hantek-6xxx:conn=3.26 - Hantek 6022BE with 2 channels: CH1 CH2
sr: [00:00.001625] device: hantek-6xxx: Opening device instance.
sr: [00:00.001637] hantek-6xxx: Opened device on 3.26 (logical) / usb/3-7
(physical) interface 0.
Channel groups:
CH1: channel CH1
CH2: channel CH2
Supported configuration options across all channel groups:
sr: [00:00.001660] hwdriver: sr_config_get(): key 20000 (conn) sdi
0x55cd14a160d0 cg NULL -> '3.26'
conn: 3.26 (current)
sr: [00:00.001672] hwdriver: sr_config_get(): key 50001 (limit_samples) sdi
0x55cd14a160d0 cg NULL -> uint64 0
limit_samples: 0 (current)
sr: [00:00.001681] hwdriver: sr_config_get(): key 50000 (limit_time) sdi
0x55cd14a160d0 cg NULL -> uint64 0
limit_time: 0 (current)
sr: [00:00.001701] hwdriver: sr_config_list(): key 30000 (samplerate) sdi
0x55cd14a160d0 cg NULL -> {'samplerates': <[uint64 48000000, 30000000,
24000000, 16000000, 8000000, 4000000, 1000000, 500000, 200000, 100000]>}
samplerate - supported samplerates:
48 MHz
30 MHz
24 MHz
16 MHz
8 MHz
4 MHz
1 MHz
500 kHz
200 kHz
100 kHz
num_vdiv
sr: [00:00.001722] device: hantek-6xxx: Closing device instance.
sr: [00:00.001724] hantek-6xxx: Closing device on 3.26 (logical) / usb/3-7
(physical) interface 0.
sr: [00:00.001737] hwdriver: Cleaning up all drivers.
[SpexAI Logo] <https://www.spexai.com> Werner Naumann
Embedded Software Engineer
[email protected]<mailto:[email protected]>
+49 351 89672613 <tel:+49%20351%2089672613>
SpexAI GmbH
Tannenstr. 2 | 01099 Dresden | Germany<https://goo.gl/maps/5dVzbAmCoWC2>
www.spexai.com<https://www.spexai.com>
Registered Office: Dresden | Registration: Amtsgericht Dresden HRB 38079 | VAT
ID No.: DE320683161 | Managing Directors: Ben Niehaus, Nadine Walther
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel