Getting Started with iTrace VS Plugin v0.1.0

Basic Usage

  1. Open Visual Studio 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 requires iTrace Core v0.1.0 to be downloaded and installed before you use the extension.

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. Opening Visual Studio as an administrator can be done by right clicking the desktop shortcut for Visual Studio and selecting Run as administrator. If you are launching Visual Studio 2017 from the start menu you will need to right click the Visual Studio 2017 icon, use your mouse to highlight more, and then click Run as administrator.

Viewing the iTrace VS Plugin Window

You should see an iTrace VS Plugin 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 Plugin

Changing the Socket Port

The socket port number setting can be found by going to Tools-> Options and from that menu clicking on iTrace VS Plugin-> iTrace VS Plugin Settings, then you can change the socket port number to your desired value and click OK. Valid socket port values are between 1025 and 65535.

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 iTrace VS Plugin 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 VS Plugin Settings. Once successfully connected the button text will change to say ‘Disconnect’.

Attempting to ‘Connect to Core’ will fail if the iTrace Core application is not running, the iTrace Core application is running but using a different socket port than specified for the iTrace VS Plugin, or if Visual Studio is not being run as administrator.

Recording Data

Start and stop data collection using the iTrace Core application. You can record multiple sessions in succession by choosing to Start Tracking again after you Stop Tracking as long as you have not disconnected the plugin yet. Starting a new session this way completes the previous session and beings the new one.

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. Closing Visual Studio without disconnecting will leave you with invalid XML document.