def power_sanity_check(self,value):
        if (value < self.minPower or value > self.maxPower):
            logger.error("Vaunix device {} power ({} dBm) outside min/max range: {} dBm, {} dBm.".format(self.ID,value,self.minPower,self.maxPower))
            raise PauseError
        return