def pulse(self, pulseLength): """Generate a single pulse. There can only be a single pulse going at any time. :param pulseLength: The length of the pulse. :type pulseLength: float """ hal.pulse(self.handle, pulseLength)
def pulse(self, channel, pulseLength): """Generate a single pulse. Write a pulse to the specified digital output channel. There can only be a single pulse going at any time. :param channel: The channel to pulse. :param pulseLength: The length of the pulse. :type pulseLength: float """ hal.pulse(self.port, pulseLength)
def pulse(self, channel, pulseLength): """Generate a single pulse. Write a pulse to the specified digital output channel. There can only be a single pulse going at any time. :param channel: The channel to pulse. :param pulseLength: The length of the pulse. :type pulseLength: float """ if self.port is None: raise ValueError("operation on freed port") hal.pulse(self.port, pulseLength)
def pulse(self, pulseLength, *args): """Generate a single pulse. There can only be a single pulse going at any time. :param channel: Unused. Deprecated 2017.1.1. :param pulseLength: The length of the pulse. :type pulseLength: float """ if len(args) > 0: warnings.warn("Use of channel argument is deprecated.", DeprecationWarning) pulseLength = args[0] hal.pulse(self.handle, pulseLength)
def pulse(self, pulseLength: float) -> None: """Generate a single pulse. There can only be a single pulse going at any time. :param pulseLength: The length of the pulse. """ hal.pulse(self.handle, pulseLength)