This thesis is divided into two parts. The first part addresses synchronisation between the rate of frequency the MR system used for fMRI examinations at Haukeland universitetssjukehus operates on (10 Mhz) and the sampling rate (5 kHz) of the EEG equipment used for audi...