This paper describes a software package, GONIO, designed to control a precision four-axis goniometer used in ion beam channelling experiments. The package has been designed to obtain channelling rapidly, minimising beam damage to the sample. Two algorithms for finding channelling are discussed: AUTOSQUARE for use where samples are of know orientation and good crystal quality, and RASTASCAN for use when the crystal is of poor quality or its orientation not known. The use of RASTASCAN for the study of crystalline perfection is also discussed.