def METHOD_NAME(self, current, channel = 0, verbose=True):
    """
    Set current of channel in mA. 
    """
    try:
        voltage = current * self.c_ranges[channel]
        if voltage < -5. or voltage >= 5.:
            raise ArithmeticError
        else:
            self.do_set_voltage(voltage, channel)   #DC_DAC_LTC2666.py
            self.currents[channel] = current
            if verbose:
                logging.info(__name__ + ' : Setting current of channel {:d} to {:f}mA.'.format(channel, current))
    except ArithmeticError as detail:
        logging.error('Invalid current setting, value exceeds voltage threshold! No changees made.')
        print detail