Esempio n. 1
0
 /**
  * <summary>
  *   Performs a smooth transition of the pulse duration toward a given value.
  * <para>
  *   Any period, frequency, duty cycle or pulse width change will cancel any ongoing transition process.
  * </para>
  * </summary>
  * <param name="ms_target">
  *   new pulse duration at the end of the transition
  *   (floating-point number, representing the pulse duration in milliseconds)
  * </param>
  * <param name="ms_duration">
  *   total duration of the transition, in milliseconds
  * </param>
  * <returns>
  *   <c>0</c> when the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public virtual int pulseDurationMove(double ms_target, int ms_duration)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No PwmOutput connected");
     }
     return(_func.pulseDurationMove(ms_target, ms_duration));
 }