/** * <summary> * Records a thermistor response table, in order to interpolate the temperature from * the measured resistance. * <para> * This function can only be used with a temperature * sensor based on thermistors. * </para> * <para> * </para> * </summary> * <param name="tempValues"> * array of floating point numbers, corresponding to all * temperatures (in degrees Celsius) for which the resistance of the * thermistor is specified. * </param> * <param name="resValues"> * array of floating point numbers, corresponding to the resistance * values (in Ohms) 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_thermistorResponseTable(double[] tempValues, double[] resValues) { if (_func == null) { throw new YoctoApiProxyException("No Temperature connected"); } return(_func.set_thermistorResponseTable(new List <double>(tempValues), new List <double>(resValues))); }