/** * <summary> * Schedules a pulse on a single bit for a specified duration. * <para> * The specified bit * will be turned to 1, and then back to 0 after the given duration. * </para> * </summary> * <param name="bitno"> * the bit number; lowest bit has index 0 * </param> * <param name="ms_delay"> * waiting time before the pulse, in milliseconds * </param> * <param name="ms_duration"> * desired pulse duration in milliseconds. Be aware that the device time * resolution is not guaranteed up to the millisecond. * </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 delayedPulse(int bitno, int ms_delay, int ms_duration) { if (_func == null) { throw new YoctoApiProxyException("No DigitalIO connected"); } return(_func.delayedPulse(bitno, ms_delay, ms_duration)); }