示例#1
0
    def getAccumulatorCount(self):
        """Read the number of accumulated values.

        Read the count of the accumulated values since the last call to
        :func:`resetAccumulator`.

        :returns: The number of times samples from the channel were
            accumulated.
        """
        return hal.getAccumulatorCount(self.port)
示例#2
0
    def getAccumulatorCount(self):
        """Read the number of accumulated values.

        Read the count of the accumulated values since the accumulator was
        last :func:`reset`.

        :returns: The number of times samples from the channel were
            accumulated.
        """
        return hal.getAccumulatorCount(self.port)