def niDigital_GetHistoryRAMSampleCount(self, vi, site, sample_count):
    with self._func_lock:
        if (self.niDigital_GetHistoryRAMSampleCount_cfunc is None):
            self.niDigital_GetHistoryRAMSampleCount_cfunc = self._get_library_function('niDigital_GetHistoryRAMSampleCount')
            self.niDigital_GetHistoryRAMSampleCount_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ctypes.POINTER(ViInt64)]
            self.niDigital_GetHistoryRAMSampleCount_cfunc.restype = ViStatus
    return self.niDigital_GetHistoryRAMSampleCount_cfunc(vi, site, sample_count)
def niDigital_GetHistoryRAMSampleCount(self, vi, site, sample_count):
    with self._func_lock:
        if (self.niDigital_GetHistoryRAMSampleCount_cfunc is None):
            self.niDigital_GetHistoryRAMSampleCount_cfunc = self._get_library_function('niDigital_GetHistoryRAMSampleCount')
            self.niDigital_GetHistoryRAMSampleCount_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ctypes.POINTER(ViInt64)]
            self.niDigital_GetHistoryRAMSampleCount_cfunc.restype = ViStatus
    return self.niDigital_GetHistoryRAMSampleCount_cfunc(vi, site, sample_count)