/** * <summary> * Records a weight span thermal compensation table, in order to automatically correct the * measured weight based on the variation of 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 variations of * 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 variation 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_spanChgCompensationTable(double[] tempValues, double[] compValues) { if (_func == null) { throw new YoctoApiProxyException("No WeighScale connected"); } return(_func.set_spanChgCompensationTable(new List <double>(tempValues), new List <double>(compValues))); }