Bug 1879 - DS1102Z-E/sample_rate is 0
Summary: DS1102Z-E/sample_rate is 0
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: rigol-ds (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
Depends on:
Reported: 2023-07-29 02:32 CEST by Dave Gilbert
Modified: 2023-07-29 02:32 CEST (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Dave Gilbert 2023-07-29 02:32:49 CEST
  I was trying (on current head f6d0f7a83c5b5e31c1bffc9abaebb91822378f9e )

sigrok-cli -d rigol-ds:conn=tcp-raw/ronnie/5555 -C CH1 --time 1s

Not enough time at this samplerate

Trying to set the samplerate gives me;
  'Failed to set device option 'samplerate': not applicable.'

there are a whole bunch of similar bugs, but most of them seem to be before commit 1cbb3b1cf.  That commit swung the calculation of the samplerate out of config_get and into dev_acquisition_start;  from some poking with gdb I think the problem is it never gets to call dev_acquisition_start, so never calculates the sample rate.