/** * <summary> * Records a weight span thermal compensation table, in order to automatically correct the * measured weight based on the compensation temperature. * <para> * The weight correction will be applied by linear interpolation between specified points. * </para> * <para> * </para> * </summary> * <param name="tempValues"> * array of floating point numbers, corresponding to all averaged * temperatures for which a span correction is specified. * </param> * <param name="compValues"> * array of floating point numbers, corresponding to the span correction * (in percents) to apply for each of the temperature included in the first * argument, index by index. * </param> * <returns> * <c>0</c> if the call succeeds. * </returns> * <para> * On failure, throws an exception or returns a negative error code. * </para> */ public virtual int set_spanAvgCompensationTable(double[] tempValues, double[] compValues) { if (_func == null) { throw new YoctoApiProxyException("No WeighScale connected"); } return(_func.set_spanAvgCompensationTable(new List <double>(tempValues), new List <double>(compValues))); }