trialdata attribute

The trialdata attribute allows individual trial elements to determine which stimulus values are written to the data file.

Applies to

<likert> <openended> <trial>

Syntax

/ trialdata = [stimulusname, stimulusname, stimulusname, "string" "string", "string"]

Parameters

stimulusname The name of a stimulus element defined elsewhere in the script.
string A quoted string indicating a value to be recorded to the data file.

Remarks

This attribute must be used in conjunction with the columns attribute of the data element in order to customize how data is recorded for this trial. If no <data> is defined or if trialdata is not specified in the columns attribute of the data element, the trialdata attribute has no effect. For each appearance of the trialdata keyword in the columns attribute of the data element, the next successive item in this trial’s trialdata attribute are recorded to the data file.

If a stimulusname is specified, the current item number of that stimulus is written to the data file. For each string specified, the string is recorded verbatim.

Examples


Send comments on this topic.
Copyright Millisecond Software, LLC. All rights reserved.