original_docstring: Configures the trigger on enabled channels
  
      Parameters
      ----------
      trigger_source : DaqTrigSource
          Trigger source
      level : float, optional
          Trigger level in V (only if trigger source is TRIG_CH1 or TRIG_CH2)
      direction : DaqTrigDir, optional
          Trigger direction (only if trigger source is TRIG_EXT, TRIG_CH1 or
          TRIG_CH2)
      delay : int, optional
          Samples number between the trigger and the beginning of the acquisition
      
docstring: Configures the trigger on enabled channels
  Parameters
  
  trigger_source : DaqTrigSource
  Trigger source
  level : float, optional
  Trigger level in V (only if trigger source is TRIG_CH1 or TRIG_CH2)
  direction : DaqTrigDir, optional
  Trigger direction (only if trigger source is TRIG_EXT, TRIG_CH1 or
  TRIG_CH2)
  delay : int, optional
  Samples number between the trigger and the beginning of the acquisition
docstring_tokens: Configures the trigger on enabled channels Parameters trigger_source : DaqTrigSource Trigger source level : float optional Trigger level in V ( only if trigger source is TRIG_CH1 or TRIG_CH2 ) direction : DaqTrigDir optional Trigger direction ( only if trigger source is TRIG_EXT TRIG_CH1 or TRIG_CH2 ) delay : int optional Samples number between the trigger and the beginning of the acquisition
code: def Daq_SetTrigger(trigger_source: DaqTrigSource, level: float = 0,
                     direction: DaqTrigDir = DaqTrigDir.DIR_BOTH_EDGES,
                     delay: int = 0) -> None:
      """Configures the trigger on enabled channels
  
      Parameters
      ----------
      trigger_source : DaqTrigSource
          Trigger source
      level : float, optional
          Trigger level in V (only if trigger source is TRIG_CH1 or TRIG_CH2)
      direction : DaqTrigDir, optional
          Trigger direction (only if trigger source is TRIG_EXT, TRIG_CH1 or
          TRIG_CH2)
      delay : int, optional
          Samples number between the trigger and the beginning of the acquisition
      """
      if not isinstance(trigger_source, DaqTrigSource):
          raise TypeError('trigger_source must be an instance of '
                          'DaqTrigSource IntEnum')
      level_mV = round(level * 1e3)
      _check_limits(c_int16, level_mV, 'level')
      if not isinstance(direction, DaqTrigDir):
          raise TypeError('direction must be an instance of DaqTrigDir IntEnum')
      _check_limits(c_int32, delay, 'delay')
      CTS3Exception._check_error(_MPuLib.Daq_SetTrigger(
          c_uint8(trigger_source),
          c_int16(level_mV),
          c_uint8(direction),
          c_int32(delay)))
code_tokens: def Daq_SetTrigger ( trigger_source : DaqTrigSource , level : float = 0 , direction : DaqTrigDir = DaqTrigDir . DIR_BOTH_EDGES , delay : int = 0 ) -> None : if not isinstance ( trigger_source , DaqTrigSource ) : raise TypeError ( 'trigger_source must be an instance of ' 'DaqTrigSource IntEnum' ) level_mV = round ( level * 1e3 ) _check_limits ( c_int16 , level_mV , 'level' ) if not isinstance ( direction , DaqTrigDir ) : raise TypeError ( 'direction must be an instance of DaqTrigDir IntEnum' ) _check_limits ( c_int32 , delay , 'delay' ) CTS3Exception . _check_error ( _MPuLib . Daq_SetTrigger ( c_uint8 ( trigger_source ) , c_int16 ( level_mV ) , c_uint8 ( direction ) , c_int32 ( delay ) ) )
short_docstring: Configures the trigger on enabled channels
  Parameters
short_docstring_tokens: Configures the trigger on enabled channels Parameters
comment: """Configures the trigger on enabled channels
  
      Parameters
      ----------
      trigger_source : DaqTrigSource
          Trigger source
      level : float, optional
          Trigger level in V (only if trigger source is TRIG_CH1 or TRIG_CH2)
      direction : DaqTrigDir, optional
          Trigger direction (only if trigger source is TRIG_EXT, TRIG_CH1 or
          TRIG_CH2)
      delay : int, optional
          Samples number between the trigger and the beginning of the acquisition
      """