Hi.
This patch series consists of three parts:
- fix the locale issue with floating point numbers
- fix the hameg driver with regard to more advanced clients
- expose config_get options
The new function in strutil.c is incomplete. The ERANGE handling is missing.
The last part is for now incomplete. CONF_TIMEBASE and CONF_VDIV are missing for
now, I have a patch for this but it doesn't seem to work for now (checked with
pulseview, not sure what I'm doing wrong).
Thanks, Damir.
poljar (Damir Jelić) (11):
strutil: Add function to parse floating point numbers while ignoring the
locale.
scpi: Use sr_atof_ascii() instead of sr_atof().
hameg-hmo: Handle floating point numbers while ignoring the locale.
hameg-hmo: Close the device after initial scan.
hameg-hmo: Send the DF_END packet in acquisition_stop()
hameg-hmo: Change the way vdiv and timebase are saved.
scpi: Add CMD_GET_SAMPLE_RATE to the command enum.
hameg-hmo: Add support for sample rate fetching.
hameg-hmo: Update the sample rate when the channel states or the timebase
change.
hameg-hmo: Advertise the frame limit option.
hameg-hmo: Expose more options with config_get().
hardware/common/scpi.c | 4 +-
hardware/hameg-hmo/api.c | 63 ++++++++++++++++++--
hardware/hameg-hmo/protocol.c | 130 +++++++++++++++++++++++++++++++++++++-----
hardware/hameg-hmo/protocol.h | 6 +-
libsigrok-internal.h | 3 +
strutil.c | 43 ++++++++++++++
6 files changed, 225 insertions(+), 24 deletions(-)
--
1.8.5.3
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel