Tutorial: Text Files (3/21)

Location

…\DirectRT\samples\1 bare bones\textfiles.csv

Description

Take a look at the input file for this sample. In this example, notice that the input file is identical to the previous sample except that we've added two trials at the beginning and one trial at the end. In these new trials, look at the Stim column. There is a # character in front of each stimulus. This indicates that stimulus is an entire text file. As with images, you don't need to put the .txt at the end, because DirectRT assumes it.

Try running the session and see what it looks like. This is a really handy way to present instruction screens or other large quantities of information with a minimal amount of effort.

As an exercise, try opening the file ..\DirectRT\samples\1 bare bones\stim\instruct1.txt and modify it. Save it and then re-run the session.

Later we'll see how to easily change the text alignment and text formatting so you have more control over how the text file appears.