Bug 1879

Summary: DS1102Z-E/sample_rate is 0
Product: libsigrok Reporter: Dave Gilbert <dave>
Component: Driver: rigol-dsAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Dave Gilbert 2023-07-29 02:32:49 CEST
Hi,
  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.