/**
  * <summary>
  *   Changes the delay in milliseconds allowed for the controller to run autonomously without
  *   receiving any instruction from the control process.
  * <para>
  *   When this delay has elapsed,
  *   the controller automatically stops the motor and switches to FAILSAFE error.
  *   Failsafe security is disabled when the value is zero.
  *   Remember to call the <c>saveToFlash()</c>
  *   method of the module if the modification must be kept.
  * </para>
  * <para>
  * </para>
  * </summary>
  * <param name="newval">
  *   an integer corresponding to the delay in milliseconds allowed for the controller to run autonomously without
  *   receiving any instruction from the control process
  * </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 set_failSafeTimeout(int newval)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Motor connected");
     }
     if (newval == _FailSafeTimeout_INVALID)
     {
         return(YAPI.SUCCESS);
     }
     return(_func.set_failSafeTimeout(newval));
 }