The dataStream element specifies how data is recorded in the specified dataStream file.
dataStream.name.elapsedTime
dataStream.name.encrypt
dataStream.name.encryptionKey
dataStream.name.file
dataStream.name.fileName
dataStream.name.fullPath
dataStream.name.password
dataStream.name.recordData
dataStream.name.userId
dataStream.name.name
dataStream.name.typeName
None.
The dataStream element allows the continuous recording of data throughout a trial, block or entire experiment. The dataStream records a new set of data approximately every vertical refreshframe. This is useful for mouse or eye coordinates tracking.
The following dataStream records 10 columns, including mouse coordinates.
<dataStream mouseMovements>
/ columns=(subject, blockcode, trialCode, trialnum, latency, response, stimulusItem, mouse.x, mouse.y, script.elapsedtime)
</dataStream>
In order for the dataStream to be recorded, it needs to be explicitly set under a trial, block or experiment element using the dataStream attribute. In this example, the dataStream 'mouseMovements' is turned on for the entire experiment.
<expt myExpt>
/ blocks = [1=myBlock]
/ dataStreams = (mouseMovements)
</expt>