def niDigital_GetChannelNameFromString(self, vi, indices, name_buffer_size, names):
    with self._func_lock:
        if (self.niDigital_GetChannelNameFromString_cfunc is None):
            self.niDigital_GetChannelNameFromString_cfunc = self._get_library_function('niDigital_GetChannelNameFromString')
            self.niDigital_GetChannelNameFromString_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViChar)]
            self.niDigital_GetChannelNameFromString_cfunc.restype = ViStatus
    return self.niDigital_GetChannelNameFromString_cfunc(vi, indices, name_buffer_size, names)
def niDigital_GetChannelNameFromString(self, vi, indices, name_buffer_size, names):
    with self._func_lock:
        if (self.niDigital_GetChannelNameFromString_cfunc is None):
            self.niDigital_GetChannelNameFromString_cfunc = self._get_library_function('niDigital_GetChannelNameFromString')
            self.niDigital_GetChannelNameFromString_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViChar)]
            self.niDigital_GetChannelNameFromString_cfunc.restype = ViStatus
    return self.niDigital_GetChannelNameFromString_cfunc(vi, indices, name_buffer_size, names)