From: Janne Huttunen Date: Sat, 11 Oct 2014 12:47:28 +0000 (+0300) Subject: Add measured quantities for LCR meters. X-Git-Tag: libsigrok-0.4.0~875 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=87d8124577099b2c4cbad1276985a9ed9cdf4d4f 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. --- 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. */