def niDigital_InitWithOptions(self, resource_name, id_query, reset_device, option_string, new_vi):
    with self._func_lock:
        if (self.niDigital_InitWithOptions_cfunc is None):
            self.niDigital_InitWithOptions_cfunc = self._get_library_function('niDigital_InitWithOptions')
            self.niDigital_InitWithOptions_cfunc.argtypes = [ctypes.POINTER(ViChar), ViBoolean, ViBoolean, ctypes.POINTER(ViChar), ctypes.POINTER(ViSession)]
            self.niDigital_InitWithOptions_cfunc.restype = ViStatus
    return self.niDigital_InitWithOptions_cfunc(resource_name, id_query, reset_device, option_string, new_vi)
def niDigital_InitWithOptions(self, resource_name, id_query, reset_device, option_string, new_vi):
    with self._func_lock:
        if (self.niDigital_InitWithOptions_cfunc is None):
            self.niDigital_InitWithOptions_cfunc = self._get_library_function('niDigital_InitWithOptions')
            self.niDigital_InitWithOptions_cfunc.argtypes = [ctypes.POINTER(ViChar), ViBoolean, ViBoolean, ctypes.POINTER(ViChar), ctypes.POINTER(ViSession)]
            self.niDigital_InitWithOptions_cfunc.restype = ViStatus
    return self.niDigital_InitWithOptions_cfunc(resource_name, id_query, reset_device, option_string, new_vi)