]> sigrok.org Git - libsigrok.git/commit
scpi: Add function to get an array of floats.
authorpoljar (Damir Jelić) <redacted>
Fri, 1 Nov 2013 19:40:04 +0000 (20:40 +0100)
committerUwe Hermann <redacted>
Tue, 3 Dec 2013 14:10:01 +0000 (15:10 +0100)
commit8acbb89a1dd38f15e53c5a46c226c074db5c4efa
tree65825019496a4adb6266d9abb6acaa82f59b6759
parentf5922adef5a866bd1c292436f1c4bc6b93103aef
scpi: Add function to get an array of floats.

This patch adds a function to read and parse a SCPI response which contains a
comma-separated list of floating-point numbers (e.g. "1.0e-5,2.0e-4,3.0e-3").

This is particularly useful if the instrument sends analog measurement
data in this format.
hardware/common/scpi.c
libsigrok-internal.h