original_docstring: Selects and configures a channel
  
      Parameters
      ----------
      channel : DaqChannel
          Channel number and connector
      enabled : bool
          True to enable the channel
      voltage_range : DaqRange
          Range to use
      nc_term : DaqNCTerm, optional
          Termination impedance on the unused connector
      
docstring: Selects and configures a channel
  Parameters
  
  channel : DaqChannel
  Channel number and connector
  enabled : bool
  True to enable the channel
  voltage_range : DaqRange
  Range to use
  nc_term : DaqNCTerm, optional
  Termination impedance on the unused connector
docstring_tokens: Selects and configures a channel Parameters channel : DaqChannel Channel number and connector enabled : bool True to enable the channel voltage_range : DaqRange Range to use nc_term : DaqNCTerm optional Termination impedance on the unused connector
code: def Daq_SetChannel(channel: DaqChannel, enabled: bool,
                     voltage_range: DaqRange,
                     nc_term: DaqNCTerm = DaqNCTerm.NCT_50O) -> None:
      """Selects and configures a channel
  
      Parameters
      ----------
      channel : DaqChannel
          Channel number and connector
      enabled : bool
          True to enable the channel
      voltage_range : DaqRange
          Range to use
      nc_term : DaqNCTerm, optional
          Termination impedance on the unused connector
      """
      if not isinstance(channel, DaqChannel):
          raise TypeError('channel must be an instance of DaqChannel IntEnum')
      if enabled:
          if not isinstance(voltage_range, DaqRange):
              raise TypeError('voltage_range must be an instance of '
                              'DaqRange IntEnum')
          if not isinstance(nc_term, DaqNCTerm):
              raise TypeError('nc_term must be an instance of DaqNCTerm IntEnum')
          CTS3Exception._check_error(_MPuLib.Daq_SetChannel(
              c_uint8(channel),
              c_uint8(1),
              c_uint16(voltage_range),
              c_uint32(0),
              c_uint32(nc_term),
              c_uint8(0)))
      else:
          CTS3Exception._check_error(_MPuLib.Daq_SetChannel(
              c_uint8(channel),
              c_uint8(0),
              c_uint16(0),
              c_uint32(0),
              c_uint32(0),
              c_uint8(0)))
code_tokens: def Daq_SetChannel ( channel : DaqChannel , enabled : bool , voltage_range : DaqRange , nc_term : DaqNCTerm = DaqNCTerm . NCT_50O ) -> None : if not isinstance ( channel , DaqChannel ) : raise TypeError ( 'channel must be an instance of DaqChannel IntEnum' ) if enabled : if not isinstance ( voltage_range , DaqRange ) : raise TypeError ( 'voltage_range must be an instance of ' 'DaqRange IntEnum' ) if not isinstance ( nc_term , DaqNCTerm ) : raise TypeError ( 'nc_term must be an instance of DaqNCTerm IntEnum' ) CTS3Exception . _check_error ( _MPuLib . Daq_SetChannel ( c_uint8 ( channel ) , c_uint8 ( 1 ) , c_uint16 ( voltage_range ) , c_uint32 ( 0 ) , c_uint32 ( nc_term ) , c_uint8 ( 0 ) ) ) else : CTS3Exception . _check_error ( _MPuLib . Daq_SetChannel ( c_uint8 ( channel ) , c_uint8 ( 0 ) , c_uint16 ( 0 ) , c_uint32 ( 0 ) , c_uint32 ( 0 ) , c_uint8 ( 0 ) ) )
short_docstring: Selects and configures a channel
  Parameters
short_docstring_tokens: Selects and configures a channel Parameters
comment: """Selects and configures a channel
  
      Parameters
      ----------
      channel : DaqChannel
          Channel number and connector
      enabled : bool
          True to enable the channel
      voltage_range : DaqRange
          Range to use
      nc_term : DaqNCTerm, optional
          Termination impedance on the unused connector
      """