/** * <summary> * Returns the current calibrated input value (between 0 and 1000, included). * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the current calibrated input value (between 0 and 1000, included) * </returns> * <para> * On failure, throws an exception or returns <c>YAnButton.CALIBRATEDVALUE_INVALID</c>. * </para> */ public int get_calibratedValue() { int res; if (_func == null) { throw new YoctoApiProxyException("No AnButton connected"); } res = _func.get_calibratedValue(); if (res == YAPI.INVALID_INT) { res = _CalibratedValue_INVALID; } return(res); }