Welcome Guest, you are in: Login

EventIDE Wiki

RSSRSS

Navigation




Search the wiki


PoweredBy

Page History: PQ-Lab-Tracker-Element

Compare Page Revisions



« Older Revision - Back to Page History - Current Revision


Page Revision: 2018/07/12 13:06


Summary

Element Icon PQ Lab Tracker
Info
Category: Mouse Touch Joystick AddIn: AddIn_Arrington
Creator: OkazoLab Scope: Experiment
Owns Snippets: None Usage: Snippets

Synchronized actions

EpochActions
On Experiment Start                        Starts processing tracker samples
On Experiment Start                        Stops processing tracker samples

Properties

NameDescription                              ConstraintsTypeOn change
Settings
Server Address        Defines the IP address of the PQLab Multi-touch Server in the xxx.xxx.xxx.xxx format. If the server runs on the same PC, use the local host address, 127.0.0.1                String         
Port Number        Defines the TCP port used by PQLab Multi-touch Server. The default value is 21555.                Int32         
Move Threshold        Defines the moving threshold in pixels for detection of touch movements                Int32         
Finger ID Filter        Defines whether a filter by finger ID is applied for touch samples. The finger ID filter can help in capturing samples coming from a selected finger, when multi-touching is allowed. To enable the filter, set the ID to a positive number (note that the finger index is defined by the actual touch order). If you want to record all samples of any touch, keep the finger ID filter at 0                Int32         
Viewport Filter        Defines whether a viewport filter is applied for touch samples. The viewport filter can help in capturing samples coming from a selected touch-screen on a multi-screens configuration. To enable the filter, set the viewport's width and height to non-zero values.                Rect         
Multitouch Mode        Defines how samples from different tips are converted to tracking points                Int32         
Tracker Samples
Newest Samples        Returns an array of the most recent tracker samples. The array is updated every Control Loop cycle.                clPQLa..         
Newest Sample        Returns the newest tracker sample. The sample is updated every Control Loop cycle.                clPQLa..         
GLM Calibration
Run GLM Calibration        Runs the GLM calibration procedure, which calculates two pairs of linear coefficients for mapping of the tracker input into the screen coordinates. The calculated coefficients are automatically applied at runtime.                Boolean         
Gain X        Defines the gain coefficient for the X axis in the GLM calibration model: X='GainX'*x+OffsetX                Double         
Gain Y        Defines the gain coefficient for the Y axis in the GLM calibration model: Y='GainY'*y+OffsetY                Double         
Offset X        Defines the offset coefficient for the X axis in the GLM calibration model: X=GainX*x+'OffsetX'                Double         
Offset Y        Defines the offset coefficient for the Y axis in the GLM calibration model: Y=GainY*y+'OffsetY'                Double         
Save Calibration Now        Provides a runtime command that saves the current GLM calibration into a XML file. To run the command at runtime, assign a file name to this property.                String         
Load Calibration Now        Provides a runtime command that loads the GLM calibration values from a XML file. To run the command at runtime, assign a file name to this property.                String         
Drift Correction
Recalibrate Now        Runtime command that helps to correct drifts in tracking data.Correction is done by recalibration of the latest tracker position into a custom screen point defined by the 'Recalibration Point' property.nAs result, the offsets of the GLM calibration get adjusted (but not gains) to compensate a drift in further data.                Boolean         
Recalibration Point        Defines the screen point to which the tracker position will be recalibrated on calling 'Recalibrate Now' action. The default auto value always denotes the screen center.                clPoint         
Filters
Smoothing Ratio        Defines a ratio for the fast FIR smoothing filter, which is applied to the gaze tracking within EventIDE. The filter convolves every new tracking position with the previous ones. The property value defines a tap weight for the previous data, such that the convolution looks like: X=(Xn*(1-Ratio)+Xn-1*Ratio)/2. The value has to be positive and less than 1 (0 means no filtering).                Double         
Logging
Log Folder        Opens the dialog for selecting a local folder that will hold all tracking logs                String         
Open Log Designer        Opens a designer window where the log format can be defined.                Boolean         
Is Logging        Defines whether logging is turn on/off.The value can be changed at any moment at runtime allowing selective logging during the relevant periods only.                Boolean         
User Field        Defines the custom user data that is added to every line in the log file. The property can be used for recording varying status information (e.g. trial number) together with the tracker data. The string value may contains multiple fields separated by delimiter.                String         
Runtime
Radar Point        Returns the newest calibrated tracking position provided by the tracker at runtime                clPoint         
Control
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

This element enables tracking with the PQLab touch screens

Description

...

Snapshots

Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2

Practical Use

...

Technique 1

  1. Step 1
  2. Step 2
    === Technique 2 ===
  3. Step 1
  4. Step 2

     // Check the trial outcome. Result and RT just other user variables
    
    // insert code snippet here..

    == Extra Notes ==
    ...
    == Notes ==
  5. Insert Notes here..
  6. Insert Notes here..

 

ScrewTurn Wiki version 5.2.0.8. Some of the icons created by FamFamFam.