From 87d8124577099b2c4cbad1276985a9ed9cdf4d4f Mon Sep 17 00:00:00 2001 From: Janne Huttunen Date: Sat, 11 Oct 2014 15:47:28 +0300 Subject: [PATCH] Add measured quantities for LCR meters. Add parallel and serial model inductance, capacitance and resistance for LCR meter measurements. Add also secondary quantities many LCR meters calculate, namely dissipation factor, quality factor and phase angle. --- include/libsigrok/libsigrok.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index a34796f2..924ec912 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -201,6 +201,24 @@ enum sr_mq { SR_MQ_WIND_SPEED, /** Pressure */ SR_MQ_PRESSURE, + /** Parallel inductance (LCR meter model). */ + SR_MQ_PARALLEL_INDUCTANCE, + /** Parallel capacitance (LCR meter model). */ + SR_MQ_PARALLEL_CAPACITANCE, + /** Parallel resistance (LCR meter model). */ + SR_MQ_PARALLEL_RESISTANCE, + /** Serial inductance (LCR meter model). */ + SR_MQ_SERIAL_INDUCTANCE, + /** Serial capacitance (LCR meter model). */ + SR_MQ_SERIAL_CAPACITANCE, + /** Serial resistance (LCR meter model). */ + SR_MQ_SERIAL_RESISTANCE, + /** Dissipation factor. */ + SR_MQ_DISSIPATION_FACTOR, + /** Quality factor. */ + SR_MQ_QUALITY_FACTOR, + /** Phase angle. */ + SR_MQ_PHASE_ANGLE, }; /** Unit of measured quantity, sr_datafeed_analog.unit. */