/** * <summary> * Returns the current temperature variation, used for thermal compensation. * <para> * </para> * <para> * </para> * </summary> * <returns> * a floating point number corresponding to the current temperature variation, used for thermal compensation * </returns> * <para> * On failure, throws an exception or returns <c>YMultiCellWeighScale.COMPTEMPCHG_INVALID</c>. * </para> */ public double get_compTempChg() { double res; if (_func == null) { throw new YoctoApiProxyException("No MultiCellWeighScale connected"); } res = _func.get_compTempChg(); if (res == YAPI.INVALID_DOUBLE) { res = Double.NaN; } return(res); }