[WARNING] WARNING: DO NOT EDIT THIS FILE DIRECTLY! Use only E-Studio to edit this file. Editing of this file from any other means is not supported and may corrupt the experiment design specification. Technical support will not be able to address any issue in regards to this file format. [Experiment] VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=94 _VersionPersist=6 Root="SessionProc" Author="PST" Abstract="The Prime and Stimulus objects display a cue (i.e., a hand pointing \r\nleft or right) and two target areas. The cue appears for 200ms and \r\nthen a '+' is displayed at the left or right of the cue.\r\n\r\nThe script used for this experiment is a modified version of the script\r\nthat comes with any of the samples installed with the E-Prime \r\nExtensions for Tobii. The modifications made are used to track \r\nsaccadic amplitude (i.e., distance in pixels) between fixations, along\r\nwith the saccadic latency (i.e., time) between when the stimulus \r\nappeared and the saccade took place.\r\n\r\nThe script runs through all of the points in the Tobii gaze point \r\nhistory. Fixations are tracked in the script, and saccades are \r\ndetermined based on these fixations. For example, the saccadic \r\namplitude is logged as the distance between the last point in the \r\nprevious fixations, and the first point in the current fixation. This \r\ndistance is calculated using Pythagorean theorem and using the \r\ndifference between X coordinates and Y coordinates in the \r\nrespective Point variables for the last point in the previous fixation \r\nand the first point in the current fixation. Saccadic latency is always\r\ndetermined based on the onset time of the Stimulus object.\r\n\r\nThe data file logs saccadic amplitude, saccadic latency, total \r\nfixations, fixation length, the AOI being fixated upon, and the AOI \r\nlooked at for the current gaze data point.\r\n" Notes="" Creation=1213378597 [Device0] _VersionPersist=1 OpenDevice=1 CollectionMode=1 EmulateDeviceName="" CapsLock=0 NumLock=0 Name="Keyboard" Class="Keyboard" [Device1] _VersionPersist=1 OpenDevice=1 CollectionMode=1 EmulateDeviceName="" OpenMode=0 ShowCursor=0 Name="Mouse" Class="Mouse" [Device2] _VersionPersist=1 OpenDevice=1 Width=640 Height=480 Bpp=16 Name="Display" Class="Display" [Device3] _VersionPersist=1 OpenDevice=0 Channels=2 Samples=22050 Bps=16 Name="Sound" Class="Sound" [Device4] _VersionPersist=1 OpenDevice=1 CollectionMode=1 EmulateDeviceName="" MachineName="192.168.100.226" PortNumber=4455 LogFileName="" Name="TobiiEyeTracker" Class="TobiiEyeTracker" [Package0] PackageName="TET" VersionMajor=1 VersionMinor=0 VersionInternal=3 VersionBuild=0 _VersionPersist=1 Enabled=1 PackageGuid="{00000000-0000-0000-0000-000000000000}" [DataFile] WarnBeforeOverwrite=1 WarnIfConvertFailed=1 RemoveERecoveryFile=0 ReceiveFeedbackDuringDataFileConversion=1 LogLevel(2).Name="Block" LogLevel(3).Name="Trial" LogLevel(4).Name="SubTrial" LogLevel(5).Name="LogLevel5" LogLevel(6).Name="LogLevel6" LogLevel(7).Name="LogLevel7" LogLevel(8).Name="LogLevel8" LogLevel(9).Name="LogLevel9" LogLevel(10).Name="LogLevel10" [StartupInfo] DisplaySummary=1 UseDefaults=0 [StartupInfo1] Name="Subject" Prompt="Please enter the Subject Number (0-32767):" DataType=0 Enabled=1 PromptEnabled=1 Default="1" Min=0 Max=32767 PrivateFlags=268435477 PrivateInfo=1 [StartupInfo2] Name="Session" Prompt="Please enter the Session Number (0-32767):" DataType=0 Enabled=1 PromptEnabled=1 Default="1" Min=0 Max=32767 PrivateFlags=268435477 PrivateInfo=1 [StartupInfo3] Name="Group" Prompt="Please enter Subject's Group (0-32767):" DataType=0 Enabled=0 PromptEnabled=0 Default="1" Min=0 Max=32767 [StartupInfo4] Name="Name" Prompt="Please enter Subject's Name:" DataType=1 Enabled=0 PromptEnabled=0 Default="" MaxLength=255 [StartupInfo5] Name="Age" Prompt="Please enter Subject's Age (0-150):" DataType=0 Enabled=0 PromptEnabled=0 Default="0" Min=0 Max=150 [StartupInfo6] Name="Sex" Prompt="Please enter Subject's Sex:" DataType=2 Enabled=0 PromptEnabled=0 Default="male" Choice(1).Value="male" Choice(2).Value="female" [StartupInfo7] Name="Handedness" Prompt="Enter Subject's Handedness:" DataType=2 Enabled=0 PromptEnabled=0 Default="left" Choice(1).Value="left" Choice(2).Value="right" [StartupInfo8] Name="ResearcherID" Prompt="Please enter Researcher's ID:" DataType=0 Enabled=0 PromptEnabled=0 Default="1" Min=0 Max=32767 [Object0] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _ItemList="TETOpen;TETTrackStatus;TETOpenGazeDataFile;Welcome;BlockList;Goodbye;TETCloseGazeDataFile;TETClose" _VersionPersist=1 FlowLines(0).Count=8 FlowLines(0).FlowItem(0).Name="TETOpen" FlowLines(0).FlowItem(1).Name="TETTrackStatus" FlowLines(0).FlowItem(2).Name="TETOpenGazeDataFile" FlowLines(0).FlowItem(3).Name="Welcome" FlowLines(0).FlowItem(4).Name="BlockList" FlowLines(0).FlowItem(5).Name="Goodbye" FlowLines(0).FlowItem(6).Name="TETCloseGazeDataFile" FlowLines(0).FlowItem(7).Name="TETClose" LogData=1 Name="SessionProc" TypeName="Procedure" Tag="" Notes="" [Object1] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Logging("OnsetDelay").Log=0 Logging("OnsetTime").Log=0 Logging("DurationError").Log=0 Logging("PreRelease").Log=0 Logging("Duration").Log=0 Logging("StartTime").Log=0 Logging("OffsetTime").Log=0 Logging("FinishTime").Log=0 Logging("TimingMode").Log=0 Logging("CustomOnsetTime").Log=0 Logging("CustomOffsetTime").Log=0 Logging("ActionDelay").Log=0 Logging("ActionTime").Log=0 Logging("TargetOffsetTime").Log=0 Logging("TargetOnsetTime").Log=0 Logging("OffsetDelay").Log=0 Logging("RTTime").Log=0 Logging("ACC").Log=0 Logging("RT").Log=0 Logging("RESP").Log=0 Logging("CRESP").Log=0 Logging("Tag").Log=0 Input(0)=!Data0 _VersionPersist=1 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Text="Welcome to the experiment.\n\nYou will be presented with a '+' on the left or right side of a centrally located cue. Your task is to determine which side of the cue the '+' appears.\n\nPress the LEFT ARROW key if the '+' appears to the left. Press the RIGHT ARROW key if the '+' appears to the right.\n\nPress the spacebar to begin." ForeColor="black" BackColor="white" BackStyle="opaque" BorderColor="black" BorderWidth="0" X="center" Y="center" Width="100%" Height="100%" XAlign="center" YAlign="center" AlignHorizontal="center" AlignVertical="center" FontName="Courier New" FontSize="18" FontBold="Yes" FontItalic="No" FontUnderline="No" FontStrikeout="No" WordWrap=1 ClearAfter="No" Duration="-1" JumpLabel="" TimingMode=0 PreRelease="0" OnsetSync=1 OffsetSync=0 Name="Welcome" TypeName="TextDisplay" Tag="" Notes="" [Data0] DeviceName="Keyboard" DeviceClass="Keyboard" AllowableInput="{SPACE}" CorrectInput="" TimeLimit="" MaxCount="1" InputAction=1 SyncOwnerDuration=1 Enabled=1 FlushInputBuffer="Yes" TerminationInput="" UserTag="" ResponseMode="All" ProcessBackspace="Yes" [Object2] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Logging("PracticeMode").Log=-1 _ItemList="BlockProc" _VersionPersist=1 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Order=0 OrderBy=0 ResetEveryRun=0 HideLevelsWithZeroWeight=0 CycleDef=0 CycleValueSamples=0 CycleValueCondition="" ExitDef=0 ExitValueCycles=1 ExitValueSamples=1 ExitValueSeconds=0 ExitValueCondition="" LoadMethod=0 Filename="" UserAttributes=1 Attributes("Weight").DefaultValue="1" Attributes("Weight").Visible=1 Attributes("Weight").Width=75 Attributes("Weight").OrderIndex=0 Attributes("Procedure").DefaultValue="" Attributes("Procedure").Visible=1 Attributes("Procedure").Width=75 Attributes("Procedure").OrderIndex=1 Attributes("Nested").DefaultValue="" Attributes("Nested").Visible=1 Attributes("Nested").Width=75 Attributes("Nested").OrderIndex=2 Attributes(1).Name="PracticeMode" Attributes(1).DefaultValue="?" Attributes(1).VarType=8 Attributes(1).VarTypeInternal=8 Attributes(1).Visible=1 Attributes(1).Width=86 Levels=1 Levels(1).ValueString="1\tBlockProc\t\tNo\t" Name="BlockList" TypeName="List" Tag="" Notes="" [Object3] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Logging("OnsetDelay").Log=0 Logging("OnsetTime").Log=0 Logging("DurationError").Log=0 Logging("PreRelease").Log=0 Logging("Duration").Log=0 Logging("StartTime").Log=0 Logging("OffsetTime").Log=0 Logging("FinishTime").Log=0 Logging("TimingMode").Log=0 Logging("CustomOnsetTime").Log=0 Logging("CustomOffsetTime").Log=0 Logging("ActionDelay").Log=0 Logging("ActionTime").Log=0 Logging("TargetOffsetTime").Log=0 Logging("TargetOnsetTime").Log=0 Logging("OffsetDelay").Log=0 Logging("RTTime").Log=0 Logging("ACC").Log=0 Logging("RT").Log=0 Logging("RESP").Log=0 Logging("CRESP").Log=0 Logging("Tag").Log=0 _VersionPersist=1 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Text="Thank you for participating.\n\n\nGoodbye!" ForeColor="black" BackColor="white" BackStyle="opaque" BorderColor="black" BorderWidth="0" X="center" Y="center" Width="100%" Height="100%" XAlign="center" YAlign="center" AlignHorizontal="center" AlignVertical="center" FontName="Courier New" FontSize="18" FontBold="Yes" FontItalic="No" FontUnderline="No" FontStrikeout="No" WordWrap=1 ClearAfter="No" Duration="2000" JumpLabel="" TimingMode=0 PreRelease="0" OnsetSync=1 OffsetSync=0 Name="Goodbye" TypeName="TextDisplay" Tag="" Notes="" [Object4] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _ItemList="TrialList" _VersionPersist=1 FlowLines(0).Count=1 FlowLines(0).FlowItem(0).Name="TrialList" LogData=1 Name="BlockProc" TypeName="Procedure" Tag="" Notes="" [Object5] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=68 Logging("OnsetDelay").Log=0 Logging("OnsetTime").Log=0 Logging("DurationError").Log=0 Logging("PreRelease").Log=0 Logging("Duration").Log=0 Logging("StartTime").Log=0 Logging("OffsetTime").Log=0 Logging("FinishTime").Log=0 Logging("TimingMode").Log=0 Logging("CustomOnsetTime").Log=0 Logging("CustomOffsetTime").Log=0 Logging("ActionDelay").Log=0 Logging("ActionTime").Log=0 Logging("TargetOffsetTime").Log=0 Logging("TargetOnsetTime").Log=0 Logging("OffsetDelay").Log=0 Logging("RTTime").Log=0 Logging("ACC").Log=0 Logging("RT").Log=0 Logging("RESP").Log=0 Logging("CRESP").Log=0 Logging("Tag").Log=0 _VersionPersist=1 States("Correct").X="center" States("Correct").Y="center" States("Correct").Width="100%" States("Correct").Height="100%" States("Correct").XAlign="center" States("Correct").YAlign="center" States("Correct").BackColor="white" States("Correct").BackStyle="opaque" States("Correct").BorderColor="black" States("Correct").BorderWidth="0" States("Correct").ClearAfter="No" States("Correct").Enabled="Yes" States("Correct").ChildCount=3 States("Correct").Objects(1).Type="Text" States("Correct").Objects(1).Text="Correct!" States("Correct").Objects(1).Width="75%" States("Correct").Objects(1).Height="10%" States("Correct").Objects(1).X="center" States("Correct").Objects(1).Y="20%" States("Correct").Objects(1).AlignHorizontal="left" States("Correct").Objects(1).AlignVertical="center" States("Correct").Objects(1).FontName="Courier New" States("Correct").Objects(1).FontSize="18" States("Correct").Objects(1).FontBold="Yes" States("Correct").Objects(1).FontUnderline="No" States("Correct").Objects(1).FontStrikeout="No" States("Correct").Objects(1).FontItalic="No" States("Correct").Objects(1).ForeColor="blue" States("Correct").Objects(1).BackColor="white" States("Correct").Objects(1).BackStyle="transparent" States("Correct").Objects(1).BorderWidth="0" States("Correct").Objects(1).BorderColor="black" States("Correct").Objects(1).XAlign="center" States("Correct").Objects(1).YAlign="center" States("Correct").Objects(1).WordWrap=1 States("Correct").Objects(1).Name="Text1" States("Correct").Objects(2).Type="Text" States("Correct").Objects(2).Text="@RT Seconds Response Time" States("Correct").Objects(2).Width="75%" States("Correct").Objects(2).Height="10%" States("Correct").Objects(2).X="center" States("Correct").Objects(2).Y="35%" States("Correct").Objects(2).AlignHorizontal="left" States("Correct").Objects(2).AlignVertical="center" States("Correct").Objects(2).FontName="Courier New" States("Correct").Objects(2).FontSize="18" States("Correct").Objects(2).FontBold="Yes" States("Correct").Objects(2).FontUnderline="No" States("Correct").Objects(2).FontStrikeout="No" States("Correct").Objects(2).FontItalic="No" States("Correct").Objects(2).ForeColor="blue" States("Correct").Objects(2).BackColor="white" States("Correct").Objects(2).BackStyle="transparent" States("Correct").Objects(2).BorderWidth="0" States("Correct").Objects(2).BorderColor="black" States("Correct").Objects(2).XAlign="center" States("Correct").Objects(2).YAlign="center" States("Correct").Objects(2).WordWrap=1 States("Correct").Objects(2).Name="Text2" States("Correct").Objects(3).Type="Text" States("Correct").Objects(3).Text="@ACC.MEAN Average Percent Correct" States("Correct").Objects(3).Width="75%" States("Correct").Objects(3).Height="10%" States("Correct").Objects(3).X="center" States("Correct").Objects(3).Y="45%" States("Correct").Objects(3).AlignHorizontal="left" States("Correct").Objects(3).AlignVertical="center" States("Correct").Objects(3).FontName="Courier New" States("Correct").Objects(3).FontSize="18" States("Correct").Objects(3).FontBold="Yes" States("Correct").Objects(3).FontUnderline="No" States("Correct").Objects(3).FontStrikeout="No" States("Correct").Objects(3).FontItalic="No" States("Correct").Objects(3).ForeColor="blue" States("Correct").Objects(3).BackColor="white" States("Correct").Objects(3).BackStyle="transparent" States("Correct").Objects(3).BorderWidth="0" States("Correct").Objects(3).BorderColor="black" States("Correct").Objects(3).XAlign="center" States("Correct").Objects(3).YAlign="center" States("Correct").Objects(3).WordWrap=1 States("Correct").Objects(3).Name="Text3" States("Incorrect").X="center" States("Incorrect").Y="center" States("Incorrect").Width="100%" States("Incorrect").Height="100%" States("Incorrect").XAlign="center" States("Incorrect").YAlign="center" States("Incorrect").BackColor="white" States("Incorrect").BackStyle="opaque" States("Incorrect").BorderColor="black" States("Incorrect").BorderWidth="0" States("Incorrect").ClearAfter="No" States("Incorrect").Enabled="Yes" States("Incorrect").ChildCount=3 States("Incorrect").Objects(1).Type="Text" States("Incorrect").Objects(1).Text="Incorrect" States("Incorrect").Objects(1).Width="75%" States("Incorrect").Objects(1).Height="10%" States("Incorrect").Objects(1).X="center" States("Incorrect").Objects(1).Y="20%" States("Incorrect").Objects(1).AlignHorizontal="left" States("Incorrect").Objects(1).AlignVertical="center" States("Incorrect").Objects(1).FontName="Courier New" States("Incorrect").Objects(1).FontSize="18" States("Incorrect").Objects(1).FontBold="Yes" States("Incorrect").Objects(1).FontUnderline="No" States("Incorrect").Objects(1).FontStrikeout="No" States("Incorrect").Objects(1).FontItalic="No" States("Incorrect").Objects(1).ForeColor="red" States("Incorrect").Objects(1).BackColor="white" States("Incorrect").Objects(1).BackStyle="transparent" States("Incorrect").Objects(1).BorderWidth="0" States("Incorrect").Objects(1).BorderColor="black" States("Incorrect").Objects(1).XAlign="center" States("Incorrect").Objects(1).YAlign="center" States("Incorrect").Objects(1).WordWrap=1 States("Incorrect").Objects(1).Name="Text1" States("Incorrect").Objects(2).Type="Text" States("Incorrect").Objects(2).Text="@RT Seconds Response Time" States("Incorrect").Objects(2).Width="75%" States("Incorrect").Objects(2).Height="10%" States("Incorrect").Objects(2).X="center" States("Incorrect").Objects(2).Y="35%" States("Incorrect").Objects(2).AlignHorizontal="left" States("Incorrect").Objects(2).AlignVertical="center" States("Incorrect").Objects(2).FontName="Courier New" States("Incorrect").Objects(2).FontSize="18" States("Incorrect").Objects(2).FontBold="Yes" States("Incorrect").Objects(2).FontUnderline="No" States("Incorrect").Objects(2).FontStrikeout="No" States("Incorrect").Objects(2).FontItalic="No" States("Incorrect").Objects(2).ForeColor="red" States("Incorrect").Objects(2).BackColor="white" States("Incorrect").Objects(2).BackStyle="transparent" States("Incorrect").Objects(2).BorderWidth="0" States("Incorrect").Objects(2).BorderColor="black" States("Incorrect").Objects(2).XAlign="center" States("Incorrect").Objects(2).YAlign="center" States("Incorrect").Objects(2).WordWrap=1 States("Incorrect").Objects(2).Name="Text2" States("Incorrect").Objects(3).Type="Text" States("Incorrect").Objects(3).Text="@ACC.MEAN Average Percent Correct" States("Incorrect").Objects(3).Width="75%" States("Incorrect").Objects(3).Height="10%" States("Incorrect").Objects(3).X="center" States("Incorrect").Objects(3).Y="45%" States("Incorrect").Objects(3).AlignHorizontal="left" States("Incorrect").Objects(3).AlignVertical="center" States("Incorrect").Objects(3).FontName="Courier New" States("Incorrect").Objects(3).FontSize="18" States("Incorrect").Objects(3).FontBold="Yes" States("Incorrect").Objects(3).FontUnderline="No" States("Incorrect").Objects(3).FontStrikeout="No" States("Incorrect").Objects(3).FontItalic="No" States("Incorrect").Objects(3).ForeColor="red" States("Incorrect").Objects(3).BackColor="white" States("Incorrect").Objects(3).BackStyle="transparent" States("Incorrect").Objects(3).BorderWidth="0" States("Incorrect").Objects(3).BorderColor="black" States("Incorrect").Objects(3).XAlign="center" States("Incorrect").Objects(3).YAlign="center" States("Incorrect").Objects(3).WordWrap=1 States("Incorrect").Objects(3).Name="Text3" States("NoResponse").X="center" States("NoResponse").Y="center" States("NoResponse").Width="100%" States("NoResponse").Height="100%" States("NoResponse").XAlign="center" States("NoResponse").YAlign="center" States("NoResponse").BackColor="white" States("NoResponse").BackStyle="opaque" States("NoResponse").BorderColor="black" States("NoResponse").BorderWidth="0" States("NoResponse").ClearAfter="No" States("NoResponse").Enabled="Yes" States("NoResponse").ChildCount=1 States("NoResponse").Objects(1).Type="Text" States("NoResponse").Objects(1).Text="No response detected." States("NoResponse").Objects(1).Width="75%" States("NoResponse").Objects(1).Height="10%" States("NoResponse").Objects(1).X="center" States("NoResponse").Objects(1).Y="20%" States("NoResponse").Objects(1).AlignHorizontal="left" States("NoResponse").Objects(1).AlignVertical="center" States("NoResponse").Objects(1).FontName="Courier New" States("NoResponse").Objects(1).FontSize="18" States("NoResponse").Objects(1).FontBold="Yes" States("NoResponse").Objects(1).FontUnderline="No" States("NoResponse").Objects(1).FontStrikeout="No" States("NoResponse").Objects(1).FontItalic="No" States("NoResponse").Objects(1).ForeColor="red" States("NoResponse").Objects(1).BackColor="white" States("NoResponse").Objects(1).BackStyle="transparent" States("NoResponse").Objects(1).BorderWidth="0" States("NoResponse").Objects(1).BorderColor="black" States("NoResponse").Objects(1).XAlign="center" States("NoResponse").Objects(1).YAlign="center" States("NoResponse").Objects(1).WordWrap=1 States("NoResponse").Objects(1).Name="Text1" States("Pending").X="center" States("Pending").Y="center" States("Pending").Width="100%" States("Pending").Height="100%" States("Pending").XAlign="center" States("Pending").YAlign="center" States("Pending").BackColor="white" States("Pending").BackStyle="opaque" States("Pending").BorderColor="black" States("Pending").BorderWidth="0" States("Pending").ClearAfter="No" States("Pending").Enabled="Yes" States("Pending").ChildCount=0 UseScriptActivation=0 CollectACCStats=1 CollectNoRespACCStats=1 CollectCorrectRTStats=1 CollectIncorrectRTStats=1 ACCDivisor="1.0" ACCFormat="Percent" RTDivisor="1000.0" RTFormat="###0.000" CorrectRTDivisor="1000.0" CorrectRTFormat="###0.000" IncorrectRTDivisor="1000.0" IncorrectRTFormat="###0.000" Duration="1500" JumpLabel="" TimingMode=0 PreRelease="0" OnsetSync=1 OffsetSync=0 InputObjectName="Stimulus" Name="Feedback" TypeName="FeedbackDisplay" Tag="" Notes="" [Object6] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Logging("TrialType").Log=-1 Logging("CueType").Log=-1 Logging("Prime").Log=-1 Logging("LeftStim").Log=-1 Logging("RightStim").Log=-1 Logging("CorrectResponse").Log=-1 _ItemList="TrialProc" _VersionPersist=1 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 Order=1 OrderBy=0 ResetEveryRun=0 HideLevelsWithZeroWeight=0 CycleDef=0 CycleValueSamples=0 CycleValueCondition="" ExitDef=0 ExitValueCycles=1 ExitValueSamples=1 ExitValueSeconds=0 ExitValueCondition="" LoadMethod=0 Filename="" UserAttributes=6 Attributes("Weight").DefaultValue="1" Attributes("Weight").Visible=1 Attributes("Weight").Width=75 Attributes("Weight").OrderIndex=0 Attributes("Procedure").DefaultValue="" Attributes("Procedure").Visible=1 Attributes("Procedure").Width=75 Attributes("Procedure").OrderIndex=1 Attributes("Nested").DefaultValue="" Attributes("Nested").Visible=1 Attributes("Nested").Width=75 Attributes("Nested").OrderIndex=2 Attributes(1).Name="TrialType" Attributes(1).DefaultValue="?" Attributes(1).VarType=8 Attributes(1).VarTypeInternal=8 Attributes(1).Visible=1 Attributes(1).Width=75 Attributes(2).Name="CueType" Attributes(2).DefaultValue="?" Attributes(2).VarType=8 Attributes(2).VarTypeInternal=8 Attributes(2).Visible=1 Attributes(2).Width=75 Attributes(3).Name="Prime" Attributes(3).DefaultValue="?" Attributes(3).VarType=8 Attributes(3).VarTypeInternal=8 Attributes(3).Visible=1 Attributes(3).Width=75 Attributes(4).Name="LeftStim" Attributes(4).DefaultValue="?" Attributes(4).VarType=8 Attributes(4).VarTypeInternal=8 Attributes(4).Visible=1 Attributes(4).Width=52 Attributes(5).Name="RightStim" Attributes(5).DefaultValue="?" Attributes(5).VarType=8 Attributes(5).VarTypeInternal=8 Attributes(5).Visible=1 Attributes(5).Width=75 Attributes(6).Name="CorrectResponse" Attributes(6).DefaultValue="?" Attributes(6).VarType=8 Attributes(6).VarTypeInternal=8 Attributes(6).Visible=1 Attributes(6).Width=103 Levels=4 Levels(1).ValueString="1\tTrialProc\t\tValid\tLeft\tE\t+\t\t{LEFTARROW}\t" Levels(2).ValueString="1\tTrialProc\t\tInvalid\tLeft\tE\t\t+\t{RIGHTARROW}\t" Levels(3).ValueString="1\tTrialProc\t\tInvalid\tRight\tF\t+\t\t{LEFTARROW}\t" Levels(4).ValueString="1\tTrialProc\t\tValid\tRight\tF\t\t+\t{RIGHTARROW}\t" Name="TrialList" TypeName="List" Tag="" Notes="" [Object7] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _ItemList="TETStartTracking;Fixation;Prime;Stimulus;TETStopTracking;Feedback;SaveGazeData" _VersionPersist=1 FlowLines(0).Count=7 FlowLines(0).FlowItem(0).Name="TETStartTracking" FlowLines(0).FlowItem(1).Name="Fixation" FlowLines(0).FlowItem(2).Name="Prime" FlowLines(0).FlowItem(3).Name="Stimulus" FlowLines(0).FlowItem(4).Name="TETStopTracking" FlowLines(0).FlowItem(5).Name="Feedback" FlowLines(0).FlowItem(6).Name="SaveGazeData" LogData=1 Name="TrialProc" TypeName="Procedure" Tag="" Notes="" [Object8] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=68 Logging("OnsetDelay").Log=-1 Logging("OnsetTime").Log=-1 Logging("DurationError").Log=-1 Logging("PreRelease").Log=0 Logging("Duration").Log=0 Logging("StartTime").Log=0 Logging("OffsetTime").Log=0 Logging("FinishTime").Log=0 Logging("TimingMode").Log=0 Logging("CustomOnsetTime").Log=0 Logging("CustomOffsetTime").Log=0 Logging("ActionDelay").Log=0 Logging("ActionTime").Log=0 Logging("TargetOffsetTime").Log=0 Logging("TargetOnsetTime").Log=0 Logging("OffsetDelay").Log=0 Logging("RTTime").Log=-1 Logging("ACC").Log=-1 Logging("RT").Log=-1 Logging("RESP").Log=-1 Logging("CRESP").Log=-1 Logging("Tag").Log=0 Input(0)=!Data1 _VersionPersist=2 ActiveState="Default" States.Count=1 States(1).Name="Default" States("Default").X="center" States("Default").Y="center" States("Default").Width="100%" States("Default").Height="100%" States("Default").XAlign="center" States("Default").YAlign="center" States("Default").BackColor="white" States("Default").BackStyle="opaque" States("Default").BorderColor="black" States("Default").BorderWidth="0" States("Default").ClearAfter="No" States("Default").Enabled="Yes" States("Default").ChildCount=3 States("Default").Objects(1).Type="Text" States("Default").Objects(1).Text="[LeftStim]" States("Default").Objects(1).Width="20%" States("Default").Objects(1).Height="20%" States("Default").Objects(1).X="15%" States("Default").Objects(1).Y="center" States("Default").Objects(1).AlignHorizontal="center" States("Default").Objects(1).AlignVertical="center" States("Default").Objects(1).FontName="Arial" States("Default").Objects(1).FontSize="26" States("Default").Objects(1).FontBold="Yes" States("Default").Objects(1).FontUnderline="No" States("Default").Objects(1).FontStrikeout="No" States("Default").Objects(1).FontItalic="No" States("Default").Objects(1).ForeColor="black" States("Default").Objects(1).BackColor="white" States("Default").Objects(1).BackStyle="opaque" States("Default").Objects(1).BorderWidth="0" States("Default").Objects(1).BorderColor="black" States("Default").Objects(1).XAlign="center" States("Default").Objects(1).YAlign="center" States("Default").Objects(1).WordWrap=1 States("Default").Objects(1).Name="LeftStim" States("Default").Objects(2).Type="Text" States("Default").Objects(2).Text="[RightStim]" States("Default").Objects(2).Width="20%" States("Default").Objects(2).Height="20%" States("Default").Objects(2).X="85%" States("Default").Objects(2).Y="50%" States("Default").Objects(2).AlignHorizontal="center" States("Default").Objects(2).AlignVertical="center" States("Default").Objects(2).FontName="Arial" States("Default").Objects(2).FontSize="26" States("Default").Objects(2).FontBold="Yes" States("Default").Objects(2).FontUnderline="No" States("Default").Objects(2).FontStrikeout="No" States("Default").Objects(2).FontItalic="No" States("Default").Objects(2).ForeColor="black" States("Default").Objects(2).BackColor="white" States("Default").Objects(2).BackStyle="opaque" States("Default").Objects(2).BorderWidth="0" States("Default").Objects(2).BorderColor="black" States("Default").Objects(2).XAlign="center" States("Default").Objects(2).YAlign="center" States("Default").Objects(2).WordWrap=1 States("Default").Objects(2).Name="RightStim" States("Default").Objects(3).Type="Text" States("Default").Objects(3).Text="[Prime]" States("Default").Objects(3).Width="20%" States("Default").Objects(3).Height="20%" States("Default").Objects(3).X="center" States("Default").Objects(3).Y="center" States("Default").Objects(3).AlignHorizontal="center" States("Default").Objects(3).AlignVertical="center" States("Default").Objects(3).FontName="Wingdings" States("Default").Objects(3).FontSize="72" States("Default").Objects(3).FontBold="Yes" States("Default").Objects(3).FontUnderline="No" States("Default").Objects(3).FontStrikeout="No" States("Default").Objects(3).FontItalic="No" States("Default").Objects(3).ForeColor="black" States("Default").Objects(3).BackColor="white" States("Default").Objects(3).BackStyle="opaque" States("Default").Objects(3).BorderWidth="0" States("Default").Objects(3).BorderColor="black" States("Default").Objects(3).XAlign="center" States("Default").Objects(3).YAlign="center" States("Default").Objects(3).WordWrap=1 States("Default").Objects(3).Name="Prime" Duration="5000" JumpLabel="" TimingMode=0 PreRelease="0" OnsetSync=1 OffsetSync=0 Name="Stimulus" TypeName="Slide" Tag="" Notes="" [Data1] DeviceName="Keyboard" DeviceClass="Keyboard" AllowableInput="{LEFTARROW}{RIGHTARROW}" CorrectInput="[CorrectResponse]" TimeLimit="5000" MaxCount="1" InputAction=1 SyncOwnerDuration=1 Enabled=1 FlushInputBuffer="Yes" TerminationInput="" UserTag="" ResponseMode="All" ProcessBackspace="Yes" [Object9] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=68 Logging("OnsetDelay").Log=0 Logging("OnsetTime").Log=0 Logging("DurationError").Log=0 Logging("PreRelease").Log=0 Logging("Duration").Log=0 Logging("StartTime").Log=0 Logging("OffsetTime").Log=0 Logging("FinishTime").Log=0 Logging("TimingMode").Log=0 Logging("CustomOnsetTime").Log=0 Logging("CustomOffsetTime").Log=0 Logging("ActionDelay").Log=0 Logging("ActionTime").Log=0 Logging("TargetOffsetTime").Log=0 Logging("TargetOnsetTime").Log=0 Logging("OffsetDelay").Log=0 Logging("RTTime").Log=0 Logging("ACC").Log=0 Logging("RT").Log=0 Logging("RESP").Log=0 Logging("CRESP").Log=0 Logging("Tag").Log=0 _VersionPersist=2 ActiveState="Default" States.Count=1 States(1).Name="Default" States("Default").X="center" States("Default").Y="center" States("Default").Width="100%" States("Default").Height="100%" States("Default").XAlign="center" States("Default").YAlign="center" States("Default").BackColor="white" States("Default").BackStyle="opaque" States("Default").BorderColor="black" States("Default").BorderWidth="0" States("Default").ClearAfter="No" States("Default").Enabled="Yes" States("Default").ChildCount=3 States("Default").Objects(1).Type="Text" States("Default").Objects(1).Text="" States("Default").Objects(1).Width="20%" States("Default").Objects(1).Height="20%" States("Default").Objects(1).X="15%" States("Default").Objects(1).Y="center" States("Default").Objects(1).AlignHorizontal="center" States("Default").Objects(1).AlignVertical="center" States("Default").Objects(1).FontName="Courier New" States("Default").Objects(1).FontSize="18" States("Default").Objects(1).FontBold="Yes" States("Default").Objects(1).FontUnderline="No" States("Default").Objects(1).FontStrikeout="No" States("Default").Objects(1).FontItalic="No" States("Default").Objects(1).ForeColor="black" States("Default").Objects(1).BackColor="white" States("Default").Objects(1).BackStyle="opaque" States("Default").Objects(1).BorderWidth="0" States("Default").Objects(1).BorderColor="black" States("Default").Objects(1).XAlign="center" States("Default").Objects(1).YAlign="center" States("Default").Objects(1).WordWrap=1 States("Default").Objects(1).Name="LeftStim" States("Default").Objects(2).Type="Text" States("Default").Objects(2).Text="" States("Default").Objects(2).Width="20%" States("Default").Objects(2).Height="20%" States("Default").Objects(2).X="85%" States("Default").Objects(2).Y="50%" States("Default").Objects(2).AlignHorizontal="center" States("Default").Objects(2).AlignVertical="center" States("Default").Objects(2).FontName="Courier New" States("Default").Objects(2).FontSize="18" States("Default").Objects(2).FontBold="Yes" States("Default").Objects(2).FontUnderline="No" States("Default").Objects(2).FontStrikeout="No" States("Default").Objects(2).FontItalic="No" States("Default").Objects(2).ForeColor="black" States("Default").Objects(2).BackColor="white" States("Default").Objects(2).BackStyle="opaque" States("Default").Objects(2).BorderWidth="0" States("Default").Objects(2).BorderColor="black" States("Default").Objects(2).XAlign="center" States("Default").Objects(2).YAlign="center" States("Default").Objects(2).WordWrap=1 States("Default").Objects(2).Name="RightStim" States("Default").Objects(3).Type="Text" States("Default").Objects(3).Text="[Prime]" States("Default").Objects(3).Width="20%" States("Default").Objects(3).Height="20%" States("Default").Objects(3).X="center" States("Default").Objects(3).Y="center" States("Default").Objects(3).AlignHorizontal="center" States("Default").Objects(3).AlignVertical="center" States("Default").Objects(3).FontName="Wingdings" States("Default").Objects(3).FontSize="72" States("Default").Objects(3).FontBold="Yes" States("Default").Objects(3).FontUnderline="No" States("Default").Objects(3).FontStrikeout="No" States("Default").Objects(3).FontItalic="No" States("Default").Objects(3).ForeColor="black" States("Default").Objects(3).BackColor="white" States("Default").Objects(3).BackStyle="opaque" States("Default").Objects(3).BorderWidth="0" States("Default").Objects(3).BorderColor="black" States("Default").Objects(3).XAlign="center" States("Default").Objects(3).YAlign="center" States("Default").Objects(3).WordWrap=1 States("Default").Objects(3).Name="Prime" Duration="200" JumpLabel="" TimingMode=0 PreRelease="0" OnsetSync=1 OffsetSync=0 Name="Prime" TypeName="Slide" Tag="" Notes="" [Object10] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=68 Logging("OnsetDelay").Log=0 Logging("OnsetTime").Log=0 Logging("DurationError").Log=0 Logging("PreRelease").Log=0 Logging("Duration").Log=0 Logging("StartTime").Log=0 Logging("OffsetTime").Log=0 Logging("FinishTime").Log=0 Logging("TimingMode").Log=0 Logging("CustomOnsetTime").Log=0 Logging("CustomOffsetTime").Log=0 Logging("ActionDelay").Log=0 Logging("ActionTime").Log=0 Logging("TargetOffsetTime").Log=0 Logging("TargetOnsetTime").Log=0 Logging("OffsetDelay").Log=0 Logging("RTTime").Log=0 Logging("ACC").Log=0 Logging("RT").Log=0 Logging("RESP").Log=0 Logging("CRESP").Log=0 Logging("Tag").Log=0 _VersionPersist=2 ActiveState="Default" States.Count=1 States(1).Name="Default" States("Default").X="center" States("Default").Y="center" States("Default").Width="100%" States("Default").Height="100%" States("Default").XAlign="center" States("Default").YAlign="center" States("Default").BackColor="white" States("Default").BackStyle="opaque" States("Default").BorderColor="black" States("Default").BorderWidth="0" States("Default").ClearAfter="No" States("Default").Enabled="Yes" States("Default").ChildCount=3 States("Default").Objects(1).Type="Text" States("Default").Objects(1).Text="" States("Default").Objects(1).Width="20%" States("Default").Objects(1).Height="20%" States("Default").Objects(1).X="15%" States("Default").Objects(1).Y="center" States("Default").Objects(1).AlignHorizontal="center" States("Default").Objects(1).AlignVertical="center" States("Default").Objects(1).FontName="Courier New" States("Default").Objects(1).FontSize="26" States("Default").Objects(1).FontBold="Yes" States("Default").Objects(1).FontUnderline="No" States("Default").Objects(1).FontStrikeout="No" States("Default").Objects(1).FontItalic="No" States("Default").Objects(1).ForeColor="black" States("Default").Objects(1).BackColor="white" States("Default").Objects(1).BackStyle="opaque" States("Default").Objects(1).BorderWidth="0" States("Default").Objects(1).BorderColor="black" States("Default").Objects(1).XAlign="center" States("Default").Objects(1).YAlign="center" States("Default").Objects(1).WordWrap=1 States("Default").Objects(1).Name="LeftStim" States("Default").Objects(2).Type="Text" States("Default").Objects(2).Text="" States("Default").Objects(2).Width="20%" States("Default").Objects(2).Height="20%" States("Default").Objects(2).X="85%" States("Default").Objects(2).Y="50%" States("Default").Objects(2).AlignHorizontal="center" States("Default").Objects(2).AlignVertical="center" States("Default").Objects(2).FontName="Courier New" States("Default").Objects(2).FontSize="26" States("Default").Objects(2).FontBold="Yes" States("Default").Objects(2).FontUnderline="No" States("Default").Objects(2).FontStrikeout="No" States("Default").Objects(2).FontItalic="No" States("Default").Objects(2).ForeColor="black" States("Default").Objects(2).BackColor="white" States("Default").Objects(2).BackStyle="opaque" States("Default").Objects(2).BorderWidth="0" States("Default").Objects(2).BorderColor="black" States("Default").Objects(2).XAlign="center" States("Default").Objects(2).YAlign="center" States("Default").Objects(2).WordWrap=1 States("Default").Objects(2).Name="RightStim" States("Default").Objects(3).Type="Text" States("Default").Objects(3).Text="+" States("Default").Objects(3).Width="20%" States("Default").Objects(3).Height="20%" States("Default").Objects(3).X="center" States("Default").Objects(3).Y="center" States("Default").Objects(3).AlignHorizontal="center" States("Default").Objects(3).AlignVertical="center" States("Default").Objects(3).FontName="Courier New" States("Default").Objects(3).FontSize="26" States("Default").Objects(3).FontBold="Yes" States("Default").Objects(3).FontUnderline="No" States("Default").Objects(3).FontStrikeout="No" States("Default").Objects(3).FontItalic="No" States("Default").Objects(3).ForeColor="black" States("Default").Objects(3).BackColor="white" States("Default").Objects(3).BackStyle="opaque" States("Default").Objects(3).BorderWidth="0" States("Default").Objects(3).BorderColor="black" States("Default").Objects(3).XAlign="center" States("Default").Objects(3).YAlign="center" States("Default").Objects(3).WordWrap=1 States("Default").Objects(3).Name="Text1" Duration="700" JumpLabel="" TimingMode=0 PreRelease="0" OnsetSync=1 OffsetSync=0 Name="Fixation" TypeName="Slide" Tag="" Notes="" [Object11] _Version=131072 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Code="/************************\n* VARIABLE DECLARATIONS *\n************************/\n\n'Get access to the critical stimulus object and the slide state that \n'contains the AOIs. In this experiment, the Prime and Stimulus objects\n'are critical for fixation tracking. Since both use the same AOIs, we\n'only need to gain access to the Stimulus object.\nDim theSlide As Slide\nSet theSlide = Stimulus\n\nDim theState As SlideState\nSet theState = theSlide.States(theSlide.ActiveState)\n\n'Variables for holding the X/Y location of the current and previous gaze point.\nDim ptCurrent As Point\nDim ptPrevious As Point\n\n'Variable for holding the name of the AOI that was \"hit\" by the subject's gaze.\nDim strHit As String\n\n'Variables for storing information about the first data point\n'of a potential fixation.\nDim ptFixStart As Point\nDim nFixStartTime As Long\nDim strFixStartAOI As String\nstrFixStartAOI = \"\"\n\n'Variables for storing information about the first data point\n'of a potential broken fixation/changed fixation.\nDim ptBrokenFixStart As Point\nDim nBrokenFixStartTime As Long\nDim strBrokenFixStartAOI As String\nstrBrokenFixStartAOI = \"\"\n\n'Variable for storing the start time of a new potential fixation (when a current\n'fixation is already established).\nDim nNewFixStartTime As Long\n\n'Flag variables for indicating a current fixation/broken fixation.\nDim boolFixation As Boolean\nboolFixation = False\n\nDim boolBrokenFixation As Boolean\nboolBrokenFixation = False\n\n'Variable for holding the X/Y location of the last gaze point in the\n'last fixation. Start at -9999 to signify that there has not yet\n'been a fixation.\nDim ptLastFixation As Point\nptLastFixation.x = -9999\nptLastFixation.y = -9999\n\n'Variables used for saccade calculations.\nDim nMoveX As Integer\nDim nMoveY As Integer\n\n\n'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''\n\n/**************************\n* TOBII DATA DECLARATIONS *\n**************************/\n\n'Data types for gaining access to Tobii gaze information.\nDim theGazeData As TobiiEyeTrackerResponseData\nDim theUserEyeGazeData As UserEyeGazeData\n\n'Counter variables.\nDim nMaxHistoryCount As Long\nDim n As Long\n\n'Set defaults for the user defined data\ntheUserEyeGazeData.TrialId = c.GetAttrib(c.GetAttrib(\"Running\") & \".Sample\")\ntheUserEyeGazeData.CRESP = theSlide.CRESP\ntheUserEyeGazeData.RESP = theSlide.RESP\ntheUserEyeGazeData.ACC = theSlide.ACC\ntheUserEyeGazeData.RT = theSlide.RT\ntheUserEyeGazeData.GazeRT = 0\ntheUserEyeGazeData.TrialType = c.GetAttrib(\"TrialType\")\ntheUserEyeGazeData.CueType = c.GetAttrib(\"CueType\")\ntheUserEyeGazeData.OnScreen = \"\"\ntheUserEyeGazeData.AOI = \"\"\ntheUserEyeGazeData.AOIFixation = \"\"\ntheUserEyeGazeData.FixationLength = 0\ntheUserEyeGazeData.TotalFixations = 0\ntheUserEyeGazeData.SaccadicAmplitude = 0\ntheUserEyeGazeData.SaccadicLatency = 0\n\n'See how many samples are currently saved in the history.\nnMaxHistoryCount = TobiiEyeTracker.History.Count\n\n'Go through each gaze point in the history.\nFor n = 1 To nMaxHistoryCount\n\n\t'Get access to the next gaze data point.\n\tSet theGazeData = CTobiiEyeTrackerResponseData(TobiiEyeTracker.History(n))\n\tIf Not theGazeData Is Nothing Then\n\n\t\ttheUserEyeGazeData.GazeRT = theGazeData.RTTime\n\n\t\t'Determine which E-Prime object was running when this sample was taken\n\t\tIf theGazeData.RTTime >= Fixation.OnsetTime Then\n\t\t\ttheUserEyeGazeData.OnScreen = \"Fixation\"\n\t\tEnd If\n\n\t\tIf theGazeData.RTTime >= Prime.OnsetTime Then\n\t\t\ttheUserEyeGazeData.OnScreen = \"Prime\"\n\t\tEnd If\n\n\t\tIf theGazeData.RTTime >= theSlide.OnsetTime Then\n\t\t\ttheUserEyeGazeData.OnScreen = \"Stimulus\"\n\t\tEnd If\n\n\t\t'If the prime or stimulus was on screen then determine which sub-object on the \n\t\t'slide that the user was looking at during this time.\n\t\tIf theGazeData.RTTime >= Prime.OnsetTime Then\n\n\t\t\t'Assign X/Y location of subject's gaze to a Point variable\n\t\t\t'that can be used for analysis.\n\t\t\tptCurrent.x = theGazeData.CursorX\n\t\t\tptCurrent.y = theGazeData.CursorY\n\n\t\t\t'Determine string name of SlideImage or SlideText object at \n\t\t\t'gaze coordinates. Assign that value to strHit.\n\t\t\tstrHit = theState.HitTest( ptCurrent.x, ptCurrent.y )\n\n\t\t\t'Log the AOI that was hit in the data file.\n\t\t\ttheUserEyeGazeData.AOI = strHit\n\t\t\t\n\n\t\t\t/***************************\n\t\t\t* FIXATION-TRACKING SCRIPT *\n\t\t\t***************************/\n\n\t\t\t'Reset the fixation length and saccade information so that it does not \n\t\t\t'persist throughout the data file. Makes reading the data easier.\n\t\t\ttheUserEyeGazeData.FixationLength = 0\n\t\t\ttheUserEyeGazeData.SaccadicAmplitude = 0\n\t\t\ttheUserEyeGazeData.SaccadicLatency = 0\n\n\t\t\t'If we have not yet established a fixation, check if the current\n\t\t\t'gaze point has \"hit\" the same AOI as the \"starting\" gaze point.\n\t\t\tIf boolFixation = False Then\n\n\t\t\t\tIf strHit = strFixStartAOI And strHit <> \"\" Then\n\n\t\t\t\t\t'If so, check how much time has passed between the current\n\t\t\t\t\t'point and the starting point. If it is over 100ms, a fixation\n\t\t\t\t\t'has been established. Note that 95 is used to account for slight \n\t\t\t\t\t'drift in the frequency of gaze points received from Tobii.\n\t\t\t\t\tIf theGazeData.RTTime - nFixStartTime >= 95 Then\n\n\t\t\t\t\t\tboolFixation = True\n\n\t\t\t\t\t\t'Increment the fixation count.\n\t\t\t\t\t\ttheUserEyeGazeData.TotalFixations = theUserEyeGazeData.TotalFixations + 1\n\n\t\t\t\t\t\t'Log the AOI being fixated upon.\n\t\t\t\t\t\ttheUserEyeGazeData.AOIFixation = strHit\n\n\t\t\t\t\t\t'Since we have a new fixation, if there was a previous fixation,\n\t\t\t\t\t\t'calculate saccadic amplitude (distance) and latency.\n\t\t\t\t\t\tIf ptLastFixation.x <> -9999 Then\n\n\t\t\t\t\t\t\tnMoveX = Abs(ptLastFixation.x - ptFixStart.x)\n\t\t\t\t\t\t\tnMoveY = Abs(ptLastFixation.y - ptFixStart.y)\n\n\t\t\t\t\t\t\ttheUserEyeGazeData.SaccadicAmplitude = Sqr((nMoveX ^ 2) + (NMoveY ^ 2))\n\n\t\t\t\t\t\t\t'We are only concerned with saccadic latency in relation\n\t\t\t\t\t\t\t'to the target's onset.\n\t\t\t\t\t\t\tIf theUserEyeGazeData.OnScreen = \"Stimulus\" Then\n\t\t\t\t\t\t\t\ttheUserEyeGazeData.SaccadicLatency = nFixStartTime - Stimulus.OnsetTime\n\t\t\t\t\t\t\tEnd If\n\n\t\t\t\t\t\tElse\n\t\t\t\t\t\t\ttheUserEyeGazeData.SaccadicAmplitude = 0\n\n\t\t\t\t\t\t\ttheUserEyeGazeData.SaccadicLatency = 0\n\t\t\t\t\t\tEnd If\n\n\t\t\t\t\tEnd If\n\n\t\t\t\tElse\n\n\t\t\t\t\t'If not, then this is the new starting point for a potential fixation.\n\t\t\t\t\tstrFixStartAOI = strHit\n\t\t\t\t\tnFixStartTime = theGazeData.RTTime\n\t\t\t\t\tptFixStart = ptCurrent\n\n\t\t\t\tEnd If\n\n\t\t\t'If there is a current fixation, check if the current AOI does NOT\n\t\t\t'match the fixation's starting AOI.\n\t\t\tElse\n\n\t\t\t\tIf strHit <> strFixStartAOI Then\n\n\t\t\t\t\t'If not, and we are not currently in a potential broken fixation, log the \n\t\t\t\t\t'current information as the starting point of a potential broken fixation.\n\t\t\t\t\tIf boolBrokenFixation = False Then\n\n\t\t\t\t\t\tboolBrokenFixation = True\n\t\t\t\t\n\t\t\t\t\t\tptBrokenFixStart = ptCurrent\n\t\t\t\t\t\tstrBrokenFixStartAOI = strHit\n\t\t\t\t\t\tnBrokenFixStartTime = theGazeData.RTTime\n\n\t\t\t\t\t\t'Since this could potentially be a new fixation, log the starting time.\n\t\t\t\t\t\tnNewFixStartTime = nBrokenFixStartTime\n\t\t\t\t\t\t\n\t\t\t\t\t\t'Since this is the first point in a potential broken fixation, we\n\t\t\t\t\t\t'need to store the last point from the fixation being broken.\n\t\t\t\t\t\tptLastFixation = ptPrevious\n\n\t\t\t\t\t'If we are in a potential broken fixation, check whether the subject\n\t\t\t\t\t'is still looking at the same AOI. If not, reset the starting broken\n\t\t\t\t\t'fixation information. Then, check the total time of the broken fixation\n\t\t\t\t\t'and see if the fixation has been broken.\n\t\t\t\t\tElse\n\n\t\t\t\t\t\tIf strHit <> strBrokenFixStartAOI Then\n\n\t\t\t\t\t\t\tptBrokenFixStart = ptCurrent\n\t\t\t\t\t\t\tstrBrokenFixStartAOI = strHit\n\t\t\t\t\t\t\tnNewFixStartTime = theGazeData.RTTime\n\n\t\t\t\t\t\tEnd If\n\n\t\t\t\t\t\t'If 100ms have passed since the fixation was first broken, and the\n\t\t\t\t\t\t'subject has not reestablished the fixation, then the fixation is\n\t\t\t\t\t\t'officially broken and fixation tracking is reset.\n\t\t\t\t\t\tIf theGazeData.RTTime - nBrokenFixStartTime >= 95 Then\n\n\t\t\t\t\t\t\tboolFixation = False\n\t\t\t\t\t\t\tboolBrokenFixation = False\n\n\t\t\t\t\t\t\t'Log the length that the fixation persisted.\n\t\t\t\t\t\t\ttheUserEyeGazeData.FixationLength = nBrokenFixStartTime - nFixStartTime\n\n\t\t\t\t\t\t\ttheUserEyeGazeData.AOIFixation = \"\"\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t'Set new fixation information in case this is potentially\n\t\t\t\t\t\t\t'a new fixation.\n\t\t\t\t\t\t\tstrFixStartAOI = strBrokenFixStartAOI\n\t\t\t\t\t\t\tnFixStartTime = nNewFixStartTime\n\t\t\t\t\t\t\tptFixStart = ptBrokenFixStart\n\n\t\t\t\t\t\t\tstrBrokenFixStartAOI = \"\"\n\n\t\t\t\t\t\tEnd If\n\n\t\t\t\t\tEnd If\n\n\t\t\t\tElse\n\t\t\n\t\t\t\t\t'If fixation has been reestablished, reset the broken fixation flag.\n\t\t\t\t\tboolBrokenFixation = False\n\t\t\t\n\t\t\t\t\t'Since we still have a fixation, log this point as the potential\n\t\t\t\t\t'final point in the fixation for saccade tracking.\n\t\t\t\t\tptPrevious = ptCurrent\t\t\t\t\t\t\n\n\t\t\t\tEnd If\n\t\n\t\t\tEnd If\n\n\t\tEnd If\n\n\t\t'If this is the last gaze point in the collection, and a fixation is established,\n\t\t'log the fixation length.\n\t\tIf n = nMaxHistoryCount And boolFixation = True Then\n\t\t\ttheUserEyeGazeData.FixationLength = theGazeData.RTTime - nFixStartTime\n\t\tEnd If\n\n\t\t'Write this sample to the user defined gaze data file.\n\t\tUserWriteGazeDataFile c, theGazeData, theUserEyeGazeData\n\tEnd If\n\nNext n\n\n' Release references\nSet theState = Nothing\nSet theSlide = Nothing" Name="SaveGazeData" TypeName="InLine" Tag="" Notes="" [Object12] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="Open" Parameters="c, \"on\"" Name="TETOpen" TypeName="PackageCall" Tag="" Notes="" [Object13] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="Close" Parameters="c" Name="TETClose" TypeName="PackageCall" Tag="" Notes="" [Object14] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="TrackStatus" Parameters="c" Name="TETTrackStatus" TypeName="PackageCall" Tag="" Notes="" [Object15] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="OpenGazeDataFile" Parameters="c" Name="TETOpenGazeDataFile" TypeName="PackageCall" Tag="" Notes="" [Object16] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="CloseGazeDataFile" Parameters="c" Name="TETCloseGazeDataFile" TypeName="PackageCall" Tag="" Notes="" [Object17] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="StartTracking" Parameters="c" Name="TETStartTracking" TypeName="PackageCall" Tag="" Notes="" [Object18] _Version=65536 _ExtentX=2646 _ExtentY=1323 _StockProps=0 VersionMajor=1 VersionMinor=2 VersionInternal=1 VersionBuild=67 _VersionPersist=1 Package="TET" Routine="StopTracking" Parameters="c" Name="TETStopTracking" TypeName="PackageCall" Tag="" Notes="" [UserScript] Type UserEyeGazeData TrialId As String CRESP As String RESP As String ACC As String RT As Long GazeRT As Long TrialType As String CueType as string OnScreen As String AOI As String AOIFixation As String FixationLength As Long TotalFixations As Integer SaccadicAmplitude As Double SaccadicLatency As Long ' 1. Declare additional User Defined values here as needed End Type ' Write a line of tab delimited data to the user defined gaze data file. Sub UserWriteGazeDataFile( c As Context, theGazeData As TobiiEyeTrackerResponseData, theUserEyeGazeData As UserEyeGazeData ) Dim strOut As String ' Need to have a valid data structure. Debug.Assert Not theGazeData Is Nothing ' If this is the first call to the file since it was opened then write ' the column headers If TET_GetGazeDataFileLineNumber() = 0 Then ' Common prefix strOut = "Subject" & ebTab & "Session" & ebTab & "ID" & ebTab & "TETTime" ' Append standard data from TET strOut = strOut & _ ebTab & "RTTime" & ebTab & "CursorX" & ebTab & "CursorY" & ebTab & "TimestampSec" & ebTab & "TimestampMicrosec" & _ ebTab & "XGazePosLeftEye" & ebTab & "YGazePosLeftEye" & ebTab & "XCameraPosLeftEye" & ebTab & "YCameraPosLeftEye" & ebTab & "DiameterPupilLeftEye" & ebTab & "DistanceLeftEye" & ebTab & "ValidityLeftEye" & _ ebTab & "XGazePosRightEye" & ebTab & "YGazePosRightEye" & ebTab & "XCameraPosRightEye" & ebTab & "YCameraPosRightEye" & ebTab & "DiameterPupilRightEye" & ebTab & "DistanceRightEye" & ebTab & "ValidityRightEye" ' Append additional user defined data strOut = strOut &_ ebTab & "TrialId" & _ ebTab & "CRESP" & _ ebTab & "RESP" & _ ebTab & "ACC" & _ ebTab & "GazeRT" & _ ebTab & "TrialType" &_ ebtab & "CueType" &_ ebTab & "OnScreen" &_ ebTab & "AOI" &_ ebTab & "AOIFixation" &_ ebTab & "FixationLength" &_ ebTab & "TotalFixations" &_ ebTab & "SaccadicAmplitude" &_ ebTab & "SaccadicLatency" ' 2. Declare additional column labels for User Defined columns here as needed ' Write the line to the file TET_WriteGazeDataFile c, strOut End If ' Write the new line of data values to the file ' Common prefix strOut = c.GetAttrib( "Subject" ) & ebTab & c.GetAttrib( "Session" ) & ebTab & TET_GetGazeDataFileLineNumber() & ebTab & Format$( TET_ConvertToMilliseconds( theGazeData.TimestampSec, theGazeData.TimestampMicrosec ), "0.###" ) ' Append standard data from TET strOut = strOut & _ ebTab & theGazeData.RTTime & ebTab & theGazeData.CursorX & ebTab & theGazeData.CursorY & ebTab & theGazeData.TimestampSec & ebTab & theGazeData.TimestampMicrosec & _ ebTab & theGazeData.XGazePosLeftEye & ebTab & theGazeData.YGazePosLeftEye & ebTab & theGazeData.XCameraPosLeftEye & ebTab & theGazeData.YCameraPosLeftEye & ebTab & theGazeData.DiameterPupilLeftEye & ebTab & theGazeData.DistanceLeftEye & ebTab & theGazeData.ValidityLeftEye & _ ebTab & theGazeData.XGazePosRightEye & ebTab & theGazeData.YGazePosRightEye & ebTab & theGazeData.XCameraPosRightEye & ebTab & theGazeData.YCameraPosRightEye & ebTab & theGazeData.DiameterPupilRightEye & ebTab & theGazeData.DistanceRightEye & ebTab & theGazeData.ValidityRightEye ' Append additional user defined data ' NOTE: User defined columns may be empty if there was not a valid observation strOut = strOut & _ ebTab & theUserEyeGazeData.TrialId & _ ebTab & theUserEyeGazeData.CRESP & _ ebTab & theUserEyeGazeData.RESP & _ ebTab & theUserEyeGazeData.ACC & _ ebTab & theUserEyeGazeData.GazeRT & _ ebTab & theUserEyeGazeData.TrialType & _ ebTab & theUserEyeGazeData.CueType &_ ebTab & theUserEyeGazeData.OnScreen &_ ebTab & theUserEyeGazeData.AOI &_ ebTab & theUserEyeGazeData.AOIFixation &_ ebTab & theUserEyeGazeData.FixationLength &_ ebTab & theUserEyeGazeData.TotalFixations &_ ebTab & theUserEyeGazeData.SaccadicAmplitude &_ ebTab & theUserEyeGazeData.SaccadicLatency ' 3. Declare additional User Defined values here as needed ' Write the line to the file TET_WriteGazeDataFile c, strOut End Sub