(self)
return VelocityUnits(val.value)
:class:`nidaqmx.constants.VelocityUnits`: Specifies in which
            unit to return velocity measurements from the channel.
:class:`nidaqmx.constants.VelocityUnits`: Specifies in which
            unit to return velocity measurements from the channel.
: class : nidaqmx . constants . VelocityUnits : Specifies in which unit to return velocity measurements from the channel .
def ai_velocity_units(self):
        """
        :class:`nidaqmx.constants.VelocityUnits`: Specifies in which
            unit to return velocity measurements from the channel.
        """
        val = ctypes.c_int()

        cfunc = lib_importer.windll.DAQmxGetAIVelocityUnits
        if cfunc.argtypes is None:
            with cfunc.arglock:
                if cfunc.argtypes is None:
                    cfunc.argtypes = [
                        lib_importer.task_handle, ctypes_byte_str,
                        ctypes.POINTER(ctypes.c_int)]

        error_code = cfunc(
            self._handle, self._name, ctypes.byref(val))
        check_for_error(error_code)

        return VelocityUnits(val.value)
def ai_velocity_units ( self ) : val = ctypes . c_int ( ) cfunc = lib_importer . windll . DAQmxGetAIVelocityUnits if cfunc . argtypes is None : with cfunc . arglock : if cfunc . argtypes is None : cfunc . argtypes = [ lib_importer . task_handle , ctypes_byte_str , ctypes . POINTER ( ctypes . c_int ) ] error_code = cfunc ( self . _handle , self . _name , ctypes . byref ( val ) ) check_for_error ( error_code ) return VelocityUnits ( val . value )