Menu

Failed Import - eyelink data

Help
Jacob Dye
2018-04-04
2018-04-06
  • Jacob Dye

    Jacob Dye - 2018-04-04

    I'm having trouble importing eyelink data into pspm, any help showing me where I'm going wrong would be greatly appreciated. Script is below.

    Pspm Batch Script

    %-----------------------------------------------------------------------
    % Job saved on 16-Mar-2018 12:39:23 by cfg_util (rev $Rev: 380 $)
    % pspm PsPM - Unknown
    % cfg_basicio BasicIO - Unknown
    %-----------------------------------------------------------------------
    matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.datafile = {'E:\Projects\PHD_2018\Jake\Data\Eye Tracking\67186.asc'};
    matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{1}.pupil_r.chan_nr.chan_nr_spec = 1;
    matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{2}.gaze_x_r.chan_nr.chan_nr_spec = 2;
    matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.importtype{3}.gaze_y_r.chan_nr.chan_nr_spec = 3;
    matlabbatch{1}.pspm{1}.prep{1}.import.datatype.eyelink.eyelink_trackdist = -1;
    matlabbatch{1}.pspm{1}.prep{1}.import.overwrite = false;

    Error Output


    16-Mar-2018 12:39:34 - Running job #1

    16-Mar-2018 12:39:34 - Running 'Import'
    Importing E:\Projects\PHD_2018\Jake\Data\Eye Tracking\67186.asc ...16-Mar-2018 12:41:10 - Failed 'Import'
    Cell contents indices must be greater than 0
    In file "E:\Projects\PHD_2018\Jake\matlab\PsPM_4_0_1\v4.0.1\Import\eyelink\import_eyelink.m" (v450), function "import_eyelink" at line 307.
    In file "E:\Projects\PHD_2018\Jake\matlab\PsPM_4_0_1\v4.0.1\pspm_get_eyelink.m" (v496), function "pspm_get_eyelink" at line 42.
    In file "E:\Projects\PHD_2018\Jake\matlab\PsPM_4_0_1\v4.0.1\pspm_import.m" (v487), function "pspm_import" at line 186.
    In file "E:\Projects\PHD_2018\Jake\matlab\PsPM_4_0_1\v4.0.1\pspm_cfg\pspm_cfg_run_import.m" (v496), function "pspm_cfg_run_import" at line 79.

    The following modules did not run:
    Failed: Import
    If the problem can be fixed without modifying the job, the computation can be resumed by running
    cfg_util('cont',1)
    from the MATLAB command line.

     
  • tobias moser

    tobias moser - 2018-04-06

    Hi Jacob

    unfortunately I'm unable to reproduce that error. I think there is something different/unexpected with your datafile. Could you please provide me an example file with which I should be able to reproduce that error? (You could also send it as private message to me)

    Best
    Tobias

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.