Beispiel #1
0
 /**
  * <summary>
  *   Schedules a pulse.
  * <para>
  * </para>
  * <para>
  * </para>
  * </summary>
  * <param name="ms_delay">
  *   waiting time before the pulse, in milliseconds
  * </param>
  * <param name="ms_duration">
  *   pulse duration, in milliseconds
  * </param>
  * <para>
  * </para>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public int delayedPulse(int ms_delay, int ms_duration)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Relay connected");
     }
     return(_func.delayedPulse(ms_delay, ms_duration));
 }