def niDigital_ResetDevice(self, vi):
    with self._func_lock:
        if (self.niDigital_ResetDevice_cfunc is None):
            self.niDigital_ResetDevice_cfunc = self._get_library_function('niDigital_ResetDevice')
            self.niDigital_ResetDevice_cfunc.argtypes = [ViSession]
            self.niDigital_ResetDevice_cfunc.restype = ViStatus
    return self.niDigital_ResetDevice_cfunc(vi)
def niDigital_ResetDevice(self, vi):
    with self._func_lock:
        if (self.niDigital_ResetDevice_cfunc is None):
            self.niDigital_ResetDevice_cfunc = self._get_library_function('niDigital_ResetDevice')
            self.niDigital_ResetDevice_cfunc.argtypes = [ViSession]
            self.niDigital_ResetDevice_cfunc.restype = ViStatus
    return self.niDigital_ResetDevice_cfunc(vi)