Dear Muhammad, Here is a better fix I promised. Put the attached files in /external/fileio/private and you should be able to convert your files directly to SPM. Note that you should still specify the data type as 'ns_cnt32' either in a script or in the batch version of conversion. Let me know if you still have problems. Best, Vladimir On Wed, Feb 17, 2010 at 5:20 PM, Vladimir Litvak <[log in to unmask]> wrote: > Dear Muhammad, > > Although we have not yet completely solved the problem I found a way > for you to import your files in a way that looks correct. You should > install the EEGLAB toolbox (http://sccn.ucsd.edu/eeglab/), import your > files there, save them as EEGLAB datasets (.set files) then put the > attached 3 files in /external/fileio/private subdirectory of SPM and > import the set files to SPM with Convert button. The resulting files > look OK to me and the timing of the events is as you described. We'll > keep looking into the problem to provide a better solution. > > Best, > > Vladimir > > On Wed, Feb 10, 2010 at 11:33 PM, Muhammad A Parvaz <[log in to unmask]> wrote: >> Hello SPMers, >> >> I have just started to look into preprocessing and analyzing my EEG data with >> SPM8. But I ran into a problem in the first step. I use Neuroscan SynAmp2 64 >> channel EEG acquisition system. When I try to convert the .CNT file into SPM, >> it reads the file with twice as many time points, but the number of event >> markers seems to be OK, but now ISI looks like 5sec, while originally my ISI is >> 2sec. The EEG output also seems to be convoluted as well. After searching on >> the mailing I found out that changing S.inputformat = []; to S.inputformat = >> 'ns_cnt32'; in spm_eeg_convert.m will probably solve the problem. >> >> It sort of did, the EEG output looked more EEG like (however, I don't know of a >> way to check if it indeed was converted correctly, does anyone?), and the file >> duration (start to finish) also seems to be fine, but now I see only about half >> as many event markers as there are in the original file and the ISI still seems to >> be 5sec. >> >> I don't know exactly what is going on, and what am I doing wrong here. Any >> help will be much appreciated. >> >> Thanks >> -Muhammad >> >