[Eeglablist] eeg_checkset error when importing CNT

Stephen Politzer-Ahles politzerahless at gmail.com
Sun Mar 4 16:32:03 PST 2012


Hi Michael,

Thanks for the explanation. I just tried that out and it worked for me as
well (I had missed it before because when I clicked 'cancel' once the
warning would just pop up again... but just now if I clicked 'cancel' over
and over again then eventually it would load the data, and like you said
the error went away once I selected all but the last point). So now I am
able to import the data.

Of course, having to 'cancel' and select data means that data import for
multiple subjects can't be automated when I'm using that procedure... I
suppose that's not a huge problem, since I can at least import the data
manually, but being able to automate it would be quite helpful. I wonder if
anyone else on the list has experienced this error?

Thanks again,
Steve Politzer-Ahles

On Sun, Mar 4, 2012 at 2:32 PM, Michael Schubert <mschuber at mail.upb.de>wrote:

> Hi Steve,
>
> when you load the file via the eeglab gui a error message box appears say
> that you can stop the import or press 'cancel' to fix it from the command
> line or something like that. I press 'cancel' and the dataset will be
> loaded anyway. Most functions however will cause the same error, but when
> you go to Tools/Select data/ and you enter in the 3rd field i think
> '1:4566' (in case your data had 4567 data points) and save it as a new
> dataset, I can work with the dataset as usual. Let me know if you have any
> questions. I hope this works as fine for you.
>
> Michael
>
>
>
> Am 04.03.2012 um 06:22 schrieb Stephen Politzer-Ahles:
>
> Hi Michael,
>
> Thanks for the suggestion. I'm not sure I follow what you mean,
> though--you were able to use pop_select() without importing the data?
>
> Best,
> Steve
>
> On Thu, Mar 1, 2012 at 2:40 PM, Michael Schubert <mschuber at mail.upb.de>wrote:
>
>> Hi Stephen,
>>
>> I currently get the same error with some of my *.cnt files, not for all
>> of them though. I don't know what causes this error message and would be
>> glad if anyone could help. However, I figured when I use pop_select() to
>> select data points from 1:end-1 I can work with the dataset without any
>> further errors.
>>
>> Regards,
>> Michael
>>
>>
>> Am 01.03.2012 um 19:08 schrieb Stephen Politzer-Ahles:
>>
>> Hello,
>>
>> I am trying to import continuous Neuroscan (.cnt) files (recorded in
>> 32-bit, from Scan 4.3,Synamps 2 amplifier; I'm using a 64-bit Windows 7
>> operating system). Regardless of whether I use the GUI or the command line,
>> I get the following warning in MATLAB:
>>
>> Warning: Integer operands are required for colon operator when used as
>>> index
>>> > In loadcnt at 441
>>>   In pop_loadcnt at 126
>>>
>>
>> followed by the following pop-up error message in the GUI:
>>
>> eeg_checkset error: the number of frames does not divide the number of
>>> columns in the data.
>>>
>>
>> After that, it aborts.
>>
>> This is the command I'm using:
>>
>>> EEG = pop_loadcnt('F:\data\raw_AR\subj001.cnt','dataformat','int32')
>>>
>> (or the equivalent from the GUI.)
>>
>> Does anyone have an idea what might be causing the error? A year or so
>> ago I was actually able to import .cnt files on this computer when I was
>> just testing various things, but unfortunately I don't remember what I
>> might have been doing differently back then.
>>
>> Thank you,
>> Steve Politzer-Ahles
>>
>> --
>> Stephen Politzer-Ahles
>> University of Kansas
>> Linguistics Department
>> http://www.linguistics.ku.edu/
>>  _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
>> To unsubscribe, send an empty email to
>> eeglablist-unsubscribe at sccn.ucsd.edu
>> For digest mode, send an email with the subject "set digest mime" to
>> eeglablist-request at sccn.ucsd.edu
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------
>> Schubert, Michael Dipl. Ing. (FH)
>>
>> wiss. Mitarbeiter
>>
>> Fakultät für Naturwissenschaft
>> Department Sport&  Gesundheit
>> Sportmedizinisches Institut
>>
>> Raum: SP 0.508
>> Fon: +49 (0)5251 60-3084
>> Fax: +49 (0)5251 60-3188
>> mschuber[at]mail.uni-paderborn.de
>>
>>
>>
>> ---------------------------------------------
>> Schubert, Michael Dipl. Ing. (FH)
>>
>> wiss. Mitarbeiter
>>
>> Fakultät für Naturwissenschaft
>> Department Sport&  Gesundheit
>> Sportmedizinisches Institut
>>
>> Raum: SP 0.508
>> Fon: +49 (0)5251 60-3084
>> Fax: +49 (0)5251 60-3188
>> mschuber[at]mail.uni-paderborn.de
>>
>>
>
>
> --
> Stephen Politzer-Ahles
> University of Kansas
> Linguistics Department
> http://www.linguistics.ku.edu/
>
>
>


-- 
Stephen Politzer-Ahles
University of Kansas
Linguistics Department
http://www.linguistics.ku.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20120304/161a8dae/attachment.html>


More information about the eeglablist mailing list