def niDigital_SendSoftwareEdgeTrigger(self, vi, trigger, trigger_identifier):
    with self._func_lock:
        if (self.niDigital_SendSoftwareEdgeTrigger_cfunc is None):
            self.niDigital_SendSoftwareEdgeTrigger_cfunc = self._get_library_function('niDigital_SendSoftwareEdgeTrigger')
            self.niDigital_SendSoftwareEdgeTrigger_cfunc.argtypes = [ViSession, ViInt32, ctypes.POINTER(ViChar)]
            self.niDigital_SendSoftwareEdgeTrigger_cfunc.restype = ViStatus
    return self.niDigital_SendSoftwareEdgeTrigger_cfunc(vi, trigger, trigger_identifier)
def niDigital_SendSoftwareEdgeTrigger(self, vi, trigger, trigger_identifier):
    with self._func_lock:
        if (self.niDigital_SendSoftwareEdgeTrigger_cfunc is None):
            self.niDigital_SendSoftwareEdgeTrigger_cfunc = self._get_library_function('niDigital_SendSoftwareEdgeTrigger')
            self.niDigital_SendSoftwareEdgeTrigger_cfunc.argtypes = [ViSession, ViInt32, ctypes.POINTER(ViChar)]
            self.niDigital_SendSoftwareEdgeTrigger_cfunc.restype = ViStatus
    return self.niDigital_SendSoftwareEdgeTrigger_cfunc(vi, trigger, trigger_identifier)