up Inquisit Language Reference

datastream element

The datastream element specifies how data is recorded in the data file.

Syntax

<datastream datastreamname>
/ columns = (columnname, columnname, columnname, property, property, property)
/ file = "location"
/ encrypt = true("password") or false
/ filter = [expression; expression; expression; ...]
/ frequency = integer
/ labels = ("label", "label", "label", ...)
/ password = "string"
/ separatefiles = boolean
/ userid = "string"
</datastream>

Properties

datastream.datastreamname.elapsedtime
datastream.datastreamname.encrypt
datastream.datastreamname.encryptionkey
datastream.datastreamname.file
datastream.datastreamname.name
datastream.datastreamname.password
datastream.datastreamname.recorddata
datastream.datastreamname.typename
datastream.datastreamname.userid

Functions

None.

Remarks

The datastream element allows customization of data recording, including specifying which data is recorded, the format of the data file, and the location where the data are saved. If no datastream element is defined, Inquisit uses a default data recording scheme.

Examples

The following records 10 columns to an encrypted data file on an http server.

<datastream>
/ columns=[subject, blockcode, trialcode, trialnum, latency, response, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/ file="https://storage.millisecond.com/mydata/"
/ userid="sean"
/ password="open sesame"
/ encrypt=true("password")
</datastream>

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