def niDigital_WriteStatic(self, vi, channel_list, state):
    with self._func_lock:
        if (self.niDigital_WriteStatic_cfunc is None):
            self.niDigital_WriteStatic_cfunc = self._get_library_function('niDigital_WriteStatic')
            self.niDigital_WriteStatic_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViUInt8]
            self.niDigital_WriteStatic_cfunc.restype = ViStatus
    return self.niDigital_WriteStatic_cfunc(vi, channel_list, state)
def niDigital_WriteStatic(self, vi, channel_list, state):
    with self._func_lock:
        if (self.niDigital_WriteStatic_cfunc is None):
            self.niDigital_WriteStatic_cfunc = self._get_library_function('niDigital_WriteStatic')
            self.niDigital_WriteStatic_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViUInt8]
            self.niDigital_WriteStatic_cfunc.restype = ViStatus
    return self.niDigital_WriteStatic_cfunc(vi, channel_list, state)