/** * <summary> * Returns the number of milliseconds remaining before a pulse (delayedPulse() call) * When there is no scheduled pulse, returns zero. * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the number of milliseconds remaining before a pulse (delayedPulse() call) * When there is no scheduled pulse, returns zero * </returns> * <para> * On failure, throws an exception or returns <c>YRelay.COUNTDOWN_INVALID</c>. * </para> */ public long get_countdown() { if (_func == null) { throw new YoctoApiProxyException("No Relay connected"); } return(_func.get_countdown()); }