# Export Trial Control data

Choose between two ways to export the Trial Control data, depending on the file structure you require.

▪As dependent variables. Data are saved to additional columns of the track data file, and each sample point receives a “0” or “1” depending on whether a state (or event) is active at that time.

▪As a Trial Control log. Data are written to a separate file, where all events occurred during the trial (also those not included in the Analysis Profile) are stored as lines each with a time stamp.

To export Trial Control data as dependent variables

1.Define Trial Control events and states in the Analysis profile (see Trial Control in the Analysis profile).

2.Choose Analysis > Export > Raw Data. Select Track & dependent variables then click Start export.

Below: Part of a raw data file containing Trial Control data. The columns Frequency Light on and Duration Light on are dependent variables defined in an Analysis profile. Frequency Light on is a Trial Control event defined by the action “Light on”. Duration Light on is a state interval that goes as long as the light is on. At trial time 40.48, a light device switches on. This is marked by Frequency Light On which gets the value 1. From that moment, the variable Duration Light On gets value 1.

To export Trial Control data as a Trial Control log

1.Choose Analysis > Export > Raw Data.

2.Select Trial Control log and click Start export.

Below: Part of a Trial Control log. Activation of conditions and actions is written as an event with a time stamp. The event is written in the Event column. The next columns describe which type of Trial Control element becomes true/false/active/inactive.

The Trial Control log file contains the following columns:

▪Trial time and Recording time. See Reading the raw data file for the difference.

▪Event. The type of trial control event. For an explanation of the terms, see How the trial control instructions are executed.

▪Rule, Condition, Action, Operator, Reference. The Trial control element that is involved in the event described in the corresponding Event cell.

▪Variable, Value. The variable that is subject to an action, and the new value assigned to the variable.

▪Reference1...4, Repeat1...4. Marks the time that a sub-rule is active. Repeat indicates the number of times that sub-rule has been repeated up to that time.

To export log files of the hardware devices operated during the trial, select also the Hardware log option.

For more information, see Analysis of Trial Control data in the EthoVision XT 19 - Trial and Hardware Control - Reference Manual.