BrainVoyager QX Scripting Guide

Introduction
BrainVoyager QX is a program for analyzing and visualizing fMRI data. BrainVoyager QX is a scripting-enabled. This means that the most important functionality that is offered in the program is also available in the scripting environment. Because of the extensive scripting possibilities, BrainVoyager QX can be adapted and personalized to everyone's own needs.  

Features and advantages of scripting in BrainVoyager QX

The advantages of BrainVoyager QX being scripting-enabled are the following. Scripting makes it possible to create and preprocess data of more than one subjects, the so-called 'batch processing'. This saves the users time to focus on the essential research.
The platform-independence of BrainVoyager QX reduces complexity, because scripts created under one platform can be transferred without adaptations to other platforms. The 'import' and 'export' functions in the script editor make this convenient and user-friendly.
It is also possible to create wizards and other functions with a graphical user interface. This makes it easier for users to distribute their scripts to fellow researchers without scripting experience.
The menu-driven scripts offer the possibility to add full own developed components to BrainVoyager that possess even a user interface. The comprehensive User's Guide offer a detailed insight in the BrainVoyager characteristics like data formats.
For users that have less experience or affinity with programming, BrainVoyager QX offers the option to create macros. Every action in BrainVoyager QX is logged in QSA scripting language. With easy copying-and-pasting to the scripting environment, one can create scripts without the need for programming.

Characteristics of scripting in BrainVoyager QX

Scripting environment

The scripting environment is impressively user-friendly. All scripts are easily accessible by tabs. The tabs can also be reordered so that the script that is most important is shown first.
The scripts can be imported so that scripts of other users can be utilized in a convenient way. For this reason an export option is also available. Also for working at two different places, for example in the office and at home, the export functions are an ideal solution. User support in the form of scripts can be provided by Brain Innovation.
In addition to the tabbing, import and export functions, the scripting environment supports the BrainVoyager programmer with auto completion and syntax highlighting functions.
An error-tracking window is also present in the scripting environment.
The scripts can be activated by double clicking in a special window, that contains a list of the user-made script.
Starting the scripting environment to activate scripts is even not necessary, while the scripts do also appear in the BrainVoyager menu.

Language

The scripting environment in BrainVoyager QX makes use of the QSA scripting language. QSA is based on the Qt graphical library for C++. It is developed by Trolltech. This language is ECMA-compliant. QSA is an easy to learn language, which resembles languages like Java and Visual Basic Script.

Next: Scripting in BrainVoyager QX Tutorial

When you switch from scripting in BrainVoyager 2000 to BrainVoyager QX