Computer controlled ion beam energy scanning and data acquisition system and investigations of the Lewis effect