Пример #1
0
 /**
  * <summary>
  *   Adapts the load cell signal bias (stored in the corresponding genericSensor)
  *   so that the current signal corresponds to a zero weight.
  * <para>
  *   Remember to call the
  *   <c>saveToFlash()</c> method of the module if the modification must be kept.
  * </para>
  * <para>
  * </para>
  * </summary>
  * <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 tare()
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No MultiCellWeighScale connected");
     }
     return(_func.tare());
 }