original_docstring: Gets channel configuration
  
      Parameters
      ----------
      channel : DaqChannel
          Channel number and connector
  
      Returns
      -------
      dict
          'enabled' (bool) : Channel enabled
          'voltage_range' (DaqRange) : Channel range
          'nc_term' (DaqNCTerm) : Termination impedance on the unused connector
      
docstring: Gets channel configuration
  Parameters
  
  channel : DaqChannel
  Channel number and connector
  
  Returns
  
  
docstring_tokens: Gets channel configuration Parameters channel : DaqChannel Channel number and connector Returns
code: def Daq_GetChannel(channel: DaqChannel) \
          -> Dict[str, Union[bool, DaqRange, DaqNCTerm, None]]:
      """Gets channel configuration
  
      Parameters
      ----------
      channel : DaqChannel
          Channel number and connector
  
      Returns
      -------
      dict
          'enabled' (bool) : Channel enabled
          'voltage_range' (DaqRange) : Channel range
          'nc_term' (DaqNCTerm) : Termination impedance on the unused connector
      """
      if not isinstance(channel, DaqChannel):
          raise TypeError('channel must be an instance of DaqChannel IntEnum')
      enabled = c_uint8()
      range_mV = c_uint16()
      impedance = c_uint32()
      term = c_uint32()
      rfu = c_uint8()
      CTS3Exception._check_error(_MPuLib.Daq_GetChannel(
          c_uint8(channel),
          byref(enabled),
          byref(range_mV),
          byref(impedance),
          byref(term),
          byref(rfu)))
      if enabled.value > 0:
          return {'enabled': True,
                  'voltage_range': DaqRange(range_mV.value),
                  'nc_term': DaqNCTerm(term.value)}
      else:
          return {'enabled': False,
                  'voltage_range': None,
                  'nc_term': None}
code_tokens: def Daq_GetChannel ( channel : DaqChannel ) -> Dict [ str , Union [ bool , DaqRange , DaqNCTerm , None ] ] : if not isinstance ( channel , DaqChannel ) : raise TypeError ( 'channel must be an instance of DaqChannel IntEnum' ) enabled = c_uint8 ( ) range_mV = c_uint16 ( ) impedance = c_uint32 ( ) term = c_uint32 ( ) rfu = c_uint8 ( ) CTS3Exception . _check_error ( _MPuLib . Daq_GetChannel ( c_uint8 ( channel ) , byref ( enabled ) , byref ( range_mV ) , byref ( impedance ) , byref ( term ) , byref ( rfu ) ) ) if enabled . value > 0 : return { 'enabled' : True , 'voltage_range' : DaqRange ( range_mV . value ) , 'nc_term' : DaqNCTerm ( term . value ) } else : return { 'enabled' : False , 'voltage_range' : None , 'nc_term' : None }
short_docstring: Gets channel configuration
  Parameters
short_docstring_tokens: Gets channel configuration Parameters
comment: """Gets channel configuration
  
      Parameters
      ----------
      channel : DaqChannel
          Channel number and connector
  
      Returns
      -------
      dict
          'enabled' (bool) : Channel enabled
          'voltage_range' (DaqRange) : Channel range
          'nc_term' (DaqNCTerm) : Termination impedance on the unused connector
      """