up Inquisit Language Reference

data object

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

Attributes

<data>
/ audit = boolean
/ columns = (columnname, columnname, columnname, property, property, property)
/ encrypt = boolean(password)
/ file = path
/ filter = { script }
/ labels = (label, label, label, ...)
/ password = string
/ separateFiles = boolean
/ userId = string
</data>

Properties

data.encrypt
data.encryptionKey
data.file
data.fileName
data.fullPath
data.password
data.recordData
data.userId
data.name
data.typeName

Functions

None.

Remarks

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

Examples

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

<data>
/ 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")
</data>

Copyright Millisecond Software, LLC. All rights reserved.