/** * <summary> * Returns the current measured input value as-is (between 0 and 4095, included). * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the current measured input value as-is (between 0 and 4095, included) * </returns> * <para> * On failure, throws an exception or returns <c>YAnButton.RAWVALUE_INVALID</c>. * </para> */ public int get_rawValue() { int res; if (_func == null) { throw new YoctoApiProxyException("No AnButton connected"); } res = _func.get_rawValue(); if (res == YAPI.INVALID_INT) { res = _RawValue_INVALID; } return(res); }