def niDigital_ReadStatic(self, vi, channel_list, buffer_size, data, actual_num_read):
    with self._func_lock:
        if (self.niDigital_ReadStatic_cfunc is None):
            self.niDigital_ReadStatic_cfunc = self._get_library_function('niDigital_ReadStatic')
            self.niDigital_ReadStatic_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViUInt8), ctypes.POINTER(ViInt32)]
            self.niDigital_ReadStatic_cfunc.restype = ViStatus
    return self.niDigital_ReadStatic_cfunc(vi, channel_list, buffer_size, data, actual_num_read)
def niDigital_ReadStatic(self, vi, channel_list, buffer_size, data, actual_num_read):
    with self._func_lock:
        if (self.niDigital_ReadStatic_cfunc is None):
            self.niDigital_ReadStatic_cfunc = self._get_library_function('niDigital_ReadStatic')
            self.niDigital_ReadStatic_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViInt32, ctypes.POINTER(ViUInt8), ctypes.POINTER(ViInt32)]
            self.niDigital_ReadStatic_cfunc.restype = ViStatus
    return self.niDigital_ReadStatic_cfunc(vi, channel_list, buffer_size, data, actual_num_read)