labvanced logoLabVanced
  • Research
    • Publications
    • Researcher Interviews
    • Use Cases
      • Developmental Psychology
      • Linguistics
      • Clinical & Digital Health
      • Educational Psychology
      • Cognitive & Neuro
      • Social & Personality
      • Arts Research
      • Sports & Movement
      • Marketing & Consumer Behavior
      • Economics
      • HCI / UX
      • Commercial / Industry Use
    • Labvanced Blog
    • Services
  • Technology
    • Feature Overview
    • Code-Free Study Building
    • Eye Tracking
    • Mouse Tracking
    • Generative AI Integration
    • Multi User Studies
    • More ...
      • Reaction Time/Precise Timing
      • Text Transcription
      • Heart Rate Detection (rPPG)
      • Emotion Detection
      • Questionnaires/Surveys
      • Experimental Control
      • Data Privacy & Security
      • Desktop App
      • Mobile App
  • Learn
    • Guide
    • Videos
    • Walkthroughs
    • FAQ
    • Release Notes
    • Documents
    • Classroom
  • Experiments
    • Cognitive Tests
    • Sample Studies
    • Public Experiment Library
  • Pricing
    • Licenses
    • Top-Up Recordings
    • Subject Recruitment
    • Study Building
    • Dedicated Support
    • Checkout
  • About
    • About Us
    • Contact
    • Downloads
    • Careers
    • Impressum
    • Disclaimer
    • Privacy & Security
    • Terms & Conditions
    • Third-Party Licenses
  • Appgo to app icon
  • Logingo to app icon
Learn
Guide
Videos
Walkthroughs
FAQ
Newsletter Archive
Documents
Classroom
  • 中國人
  • Deutsch
  • Français
  • Español
  • English
  • 日本語
Guide
Videos
Walkthroughs
FAQ
Newsletter Archive
Documents
Classroom
  • 中國人
  • Deutsch
  • Français
  • Español
  • English
  • 日本語
  • Guide
    • GETTING STARTED

      • Task Editor
      • Stimulus Presentation
      • Correctness of Response
      • Objects
      • Events
      • Variables
      • Task Wizard
      • Trial System
      • Study Design
        • Tasks
        • Blocks
        • Sessions
        • Groups
    • FEATURED TOPICS

      • Randomization & Balance
      • Eye Tracking
      • Questionnaires
      • Desktop App
      • Sample Studies
      • Participant Recruitment
      • API Access
        • REST API
        • Webhook API
        • WebSocket API
      • Other Topics

        • Precise Stimulus Timings
        • Multi User Studies
        • Head Tracking in Labvanced | Guide
    • MAIN APP TABS

      • Overview: Main Tabs
      • Dashboard
      • My Studies
      • Shared Studies
      • My Files
      • Experiment Library
      • My Account
      • License & Services
    • STUDY TABS

      • Overview: Study-Specific Tabs
      • Study Design
        • Tasks
        • Blocks
        • Sessions
        • Groups
      • Task Editor
        • Task Controls
        • The Trial System
        • Canvas and Page Frames
        • Objects
        • Object Property Tables
        • Variables
        • System Variables Tables
        • The Event System
        • Text Editor Functions
        • Eyetracking in a Task
        • Head Tracking in a Task
        • Multi-User Studies
      • Settings
      • Variables
      • Media
      • Texts & Translate
      • Launch & Participate
      • Subject Management
      • Dataview and Export
        • Dataview and Variable & Task Selection (OLD Version)
        • Accessing Recordings (OLD Version)
  • Videos
    • Video Overview
    • Getting Started in Labvanced
    • Creating Tasks
    • Element Videos
    • Events & Variables
    • Advanced Topics
  • Walkthroughs
    • Introduction
    • Stroop Task
    • Lexical Decision Task
    • Posner Gaze Cueing Task
    • Change Blindness Flicker Paradigm
    • Eye-tracking Sample Study
    • Infant Eye-tracking Study
    • Attentional Capture Study with Mouse Tracking
    • Rapid Serial Visual Presentation
    • ChatGPT Study
    • Eye Tracking Demo: SVGs as AOIs
    • Multi-User Demo: Show Subjects' Cursors
    • Gamepad / Joystick Controller- Basic Set Up
    • Desktop App Study with EEG Integration
    • Between-subjects Group Balancing and Variable Setup
  • FAQ
    • Features
    • Support Policy & Guidelines
    • Security & Data Privacy
    • Licensing
    • Precision of Labvanced
    • Programmatic Use & API
    • Using Labvanced Offline
    • Troubleshooting
    • Study Creation Questions
  • Newsletter Archive
  • Documents
  • Classroom

Variable Properties

For each variable, you can specify different properties and provide a short text description of what the variable is used for. Name and Data Type are mandatory. Format is also important to specify when using arrays or data frames. All other properties are optional or fixed depending on the data type.

Name

The name is used as a handle for the variable in events, objects, when copying tasks, and in the data view. Names must be unique across the study: two variables cannot share the same name. The name can be changed on all variables except System Variables.

Accepted values: any ASCII string. Do not use periods (.).

Data Type

The data type determines what kind of values the variable can hold and what operations can be applied to it.

Data TypeDescription
StringAny text, including numbers and special characters.
NumericNumeric values only.
Booleantrue or false only.
CategoricalA fixed set of predefined levels. Mostly used for factor variables.
DateDate values in yyyy/mm/dd format.
TimeTime values in hours/minutes/seconds format.
FileImage, video, or audio file data.

Scale

The scale determines the level of measurement. Useful for numeric variables and may be used by future analysis features.

ScaleDescription
UndefinedNo selection.
NominalCategories with no inherent order.
OrdinalRanked values with no consistent interval.
IntervalValues with consistent intervals but no true zero (e.g. temperature).
RatioValues with consistent intervals and a true zero (e.g. weight).

Format

The format determines whether the variable holds a single value or a collection of values.

FormatDescription
ScalarA single value.
ArrayAn ordered list of values.
Data FrameMultiple variables nested in a CSV structure, where each column is a variable.

Start Value

The start value is the default value the variable resets to at the start of each trial (if Reset at Trial Start is enabled). It can also be used to permanently store content such as text, images, video, or audio.

For array variables, the start value can be a complete array. You can upload a CSV file or add entries manually.

Reset at Trial Start

When enabled, the variable resets to its start value at the beginning of each new trial. Enable this for variables that record per-trial data like responses or reaction times. Disable it for variables that accumulate across trials, such as scores or persistent data arrays.

Record Variable

When enabled, the variable value is recorded and saved at the end of each trial. Recording is enabled by default for system, factor, and object variables.

Record Type

Determines how value changes are recorded during a trial.

OptionDescription
All changes / time seriesRecords every value change during the trial, each with a timestamp. See Time Series Variables for sampling method options.
Final value onlyRecords only the value at the end of the trial.

Further reading

Time Series Variables

How to set up the Sampling method and Record Type for continuous measurements like mouse tracking and physiological signals.

Variables Tab

The global variable list where you can view, create, edit, and delete all variables in your study.

Working with Variables

The hub page for the working-with-variables section: types, properties, recording options, and data frames.