An ASSEMBLER routine for on-line graphic display and averaging of data acquired on a personal microcomputer.
An ASSEMBLER routine is described for data acquisition and "on-line" averaging, artefact rejection and graphic display of data on a personal microcomputer (IBM compatible). The user determines the number of input channels, sampling frequency, number of samples, input range, stimulation frequency (epoch frequency) and the number of epochs to be acquired and averaged. Data from each epoch are scanned in search of saturating artefacts and will be added to previous epochs if none is found. Data are then graphically displayed as voltage versus time before acquiring next epoch. Display options can be defined by the user at run time by means of the keyboard and include: display of last epoch, display of the average, storage screen and refreshing screen after every epoch. High data transfer rates and program speed allows for high stimulation rates in the presence of on line graphic display. The computer then behaves as a multichannel digital oscilloscope with access to large memory buffers, disk storage, high averaging capabilities, artefact rejection and wide potential for data analysis. Its applications to the recording of magnetic and electric evoked responses are illustrated. The program is available from the authors.