Skip to content

Getting Started with the iTrace VS Plugin

Drew Guarnera edited this page Aug 2, 2019 · 9 revisions

Basic Usage

  1. Right click Visual Studio and open it as an administrator
  2. Open the project you will run eye tracking on
  3. Configure socket port if required
  4. Connect to Core
  5. Start Tracking using the iTrace Core
  6. Stop Tracking using the iTrace Core
  7. Disconnect from the Core
    • Always disconnect before closing Visual Studio to ensure all XML tags in the output data are properly closed

Before You Begin

To get eye tracking data, this plugin uses the iTrace-Core. You must have this program installed before you can use the extension. It is available here: https://github.com/iTrace-Dev/iTrace-Core

Ensure the iTrace VS Plugin has been installed as described here, Installing the iTrace VS Plugin

Opening Visual Studio as Administrator

This is to ensure the plugin has all the required permissions to connect and listen to sockets, and to create/write to files.

Viewing the iTraceVS Window

You should see an iTrace window pane with controls if you have used it before. If it is your first time using the tool or it has not been saved as part of your Visual Studio window layout you can bring up the window by going to View > Other Windows > iTrace VS

Changing the Socket Port

The socket port number setting can be found by going to Tools > Options and from that menu clicking on iTrace > iTrace Settings, then you can change the socket port number to your desired value and click OK.

This change goes into effect when you click the 'Connect to Core' button so do this before beginning a session. Ensure all socket port changes are also done to the iTrace Core Application. Mismatched socket ports will result in you being unable to connect the two tools.

Connecting to iTrace Core

The iTraceVS window contains a button labeled 'Connect to Core'. Clicking it will prompt the plugin to attempt to connect to the socket port specified in your iTrace Settings. Once successfully connected the button text will change to say 'Disconnect'.

Recording Data

Start and stop data collection using the iTrace Core application. You can record multiple sessions at once by choosing to Start Tracking again after you Stop Tracking as long as you have not disconnected the plugin yet. Starting a new session causes the plugin to finish and close its output file from the previous session and create a new one for the new session.

Disconnect from iTrace Core

If you are completely finished with data collection from your subject, stop the tracker using the iTrace Core application and then click 'Disconnect' on the plugin. This closes the environment tags of the last plugin output file. Closing Visual Studio without disconnecting will leave you with invalid XML since some tags will be left open.

Clone this wiki locally