/** * <summary> * Checks if the sensor is currently able to provide an up-to-date measure. * <para> * Returns false if the device is unreachable, or if the sensor does not have * a current measure to transmit. No exception is raised if there is an error * while trying to contact the device hosting $THEFUNCTION$. * </para> * <para> * </para> * </summary> * <returns> * <c>true</c> if the sensor can provide an up-to-date measure, and <c>false</c> otherwise * </returns> */ public virtual bool isSensorReady() { if (_func == null) { throw new YoctoApiProxyException("No Sensor connected"); } return(_func.isSensorReady()); }